org.sblim.slp.internal.sa
Class MessageTable

java.lang.Object
  extended byorg.sblim.slp.internal.sa.MessageTable

public class MessageTable
extends java.lang.Object

Keeps track of datagram messages. For requestes with the same XID the same responses should be returned.


Constructor Summary
MessageTable()
           
 
Method Summary
 void addResponse(java.net.InetAddress pSource, SLPMessage pRequest, byte[] pRespond)
          addResponse
 byte[] getResponse(java.net.InetAddress pSource, SLPMessage pRequest)
          getResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageTable

public MessageTable()
Method Detail

getResponse

public byte[] getResponse(java.net.InetAddress pSource,
                          SLPMessage pRequest)
                   throws ServiceLocationException
getResponse

Parameters:
pSource -
pRequest -
Returns:
byte[]
Throws:
ServiceLocationException

addResponse

public void addResponse(java.net.InetAddress pSource,
                        SLPMessage pRequest,
                        byte[] pRespond)
                 throws ServiceLocationException
addResponse

Parameters:
pSource -
pRequest -
pRespond -
Throws:
ServiceLocationException


Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.