Package org.sblim.slp.internal.sa
Class MessageTable
- java.lang.Object
-
- org.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
Constructors Constructor Description MessageTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResponse(java.net.InetAddress pSource, SLPMessage pRequest, byte[] pRespond)
addResponsebyte[]
getResponse(java.net.InetAddress pSource, SLPMessage pRequest)
getResponse
-
-
-
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
-
-