Package org.sblim.slp.internal.sa
Class MessageTable
- java.lang.Object
-
- org.sblim.slp.internal.sa.MessageTable
-
public class MessageTable extends java.lang.ObjectKeeps track of datagram messages. For requests 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 voidaddResponse(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 ServiceLocationExceptiongetResponse- Parameters:
pSource-pRequest-- Returns:
- byte[]
- Throws:
ServiceLocationException
-
addResponse
public void addResponse(java.net.InetAddress pSource, SLPMessage pRequest, byte[] pRespond) throws ServiceLocationExceptionaddResponse- Parameters:
pSource-pRequest-pRespond-- Throws:
ServiceLocationException
-
-