Class MessageTable
java.lang.Object
org.sblim.slp.internal.sa.MessageTable
Keeps track of datagram messages. For requestes with the same XID
the same responses should be returned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResponse(InetAddress pSource, SLPMessage pRequest, byte[] pRespond) addResponsebyte[]getResponse(InetAddress pSource, SLPMessage pRequest) getResponse
-
Constructor Details
-
MessageTable
public MessageTable()
-
-
Method Details
-
getResponse
getResponse- Parameters:
pSource-pRequest-- Returns:
- byte[]
- Throws:
ServiceLocationException
-
addResponse
public void addResponse(InetAddress pSource, SLPMessage pRequest, byte[] pRespond) throws ServiceLocationException addResponse- Parameters:
pSource-pRequest-pRespond-- Throws:
ServiceLocationException
-