org.sblim.slp.internal.msg
public abstract class SLPMessage extends Object implements FunctionIDs
Constructor Summary | |
---|---|
SLPMessage(int pFunctionID)
Ctor.
| |
SLPMessage(int pFunctionID, String pLangTag)
Ctor.
| |
SLPMessage(MsgHeader pHeader)
Ctor.
|
Method Summary | |
---|---|
boolean | fresh()
fresh
|
int | getFunctionID()
getFunctionID
|
MsgHeader | getHeader()
getHeader
|
String | getLangTag()
getLangTag
|
int | getVersion()
getVersion
|
int | getXID()
getXID
|
boolean | multicast()
multicast
|
boolean | overflows()
overflows
|
byte[] | serialize(boolean pSetMulticastFlag, boolean pDatagramLimited, boolean pKeepXID)
serialize
|
byte[] | serialize(boolean pSetMulticastFlag, boolean pDatagramLimited, boolean pKeepXID, SerializeOption pOption)
serialize
|
protected abstract boolean | serializeBody(SLPOutputStream pOutStr, SerializeOption pOption) |
void | setXID(int pXID) |
String | toString() |
Parameters: pFunctionID
Parameters: pFunctionID pLangTag
Parameters: pHeader
Returns: boolean
Returns: int
Returns: MsgHeader
Returns: String
Returns: int
Returns: int
Returns: boolean
Returns: boolean
Parameters: pSetMulticastFlag pDatagramLimited pKeepXID
Returns: byte[]
Throws: ServiceLocationException
Parameters: pSetMulticastFlag pDatagramLimited pKeepXID pOption - passed to the serializeBody() method of the inherited classes
Returns: byte[]
Throws: ServiceLocationException
Returns: true if all data is written into pOStr (all data fits into size limit)
Parameters: pXID
See Also: MsgHeader