org.sblim.slp.internal.msg
Class SLPMessage
java.lang.Object
org.sblim.slp.internal.msg.SLPMessage
- FunctionIDs
public abstract class SLPMessage
extends java.lang.Object
SLPMessage
ATTR_RPLY , ATTR_RQST , DA_ADVERT , FIRST_ID , LAST_ID , SA_ADVERT , SRV_ACK , SRV_DEREG , SRV_REG , SRV_RPLY , SRV_RQST , SRV_TYPE_RPLY , SRV_TYPE_RQST |
SLPMessage
public SLPMessage(int pFunctionID)
Ctor.
SLPMessage
public SLPMessage(int pFunctionID,
String pLangTag)
Ctor.
SLPMessage
public SLPMessage(MsgHeader pHeader)
Ctor. used by message parser.
fresh
public boolean fresh()
fresh
getFunctionID
public int getFunctionID()
getFunctionID
getHeader
public MsgHeader getHeader()
getHeader
getLangTag
public String getLangTag()
getLangTag
getVersion
public int getVersion()
getVersion
getXID
public int getXID()
getXID
multicast
public boolean multicast()
multicast
overflows
public boolean overflows()
overflows
serialize
public byte[] serialize(boolean pSetMulticastFlag,
boolean pDatagramLimited,
boolean pKeepXID)
throws ServiceLocationException
serialize
pSetMulticastFlag
- pDatagramLimited
- pKeepXID
-
serialize
public byte[] serialize(boolean pSetMulticastFlag,
boolean pDatagramLimited,
boolean pKeepXID,
SerializeOption pOption)
throws ServiceLocationException
serialize
pSetMulticastFlag
- pDatagramLimited
- pKeepXID
- pOption
- - passed to the serializeBody() method of the inherited classes
setXID
public void setXID(int pXID)
toString
public String toString()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.