|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sblim.slp.internal.msg.SLPMessage
public abstract class SLPMessage
SLPMessage
| Field Summary |
|---|
| Fields inherited from interface org.sblim.slp.internal.msg.FunctionIDs |
|---|
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 |
| Constructor Summary | |
|---|---|
SLPMessage(int pFunctionID)
Ctor. |
|
SLPMessage(int pFunctionID,
java.lang.String pLangTag)
Ctor. |
|
SLPMessage(MsgHeader pHeader)
Ctor. |
|
| Method Summary | |
|---|---|
boolean |
fresh()
fresh |
int |
getFunctionID()
getFunctionID |
MsgHeader |
getHeader()
getHeader |
java.lang.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)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SLPMessage(int pFunctionID)
pFunctionID -
public SLPMessage(int pFunctionID,
java.lang.String pLangTag)
pFunctionID - pLangTag - public SLPMessage(MsgHeader pHeader)
pHeader - | Method Detail |
|---|
public MsgHeader getHeader()
public int getVersion()
public int getFunctionID()
public java.lang.String getLangTag()
public boolean overflows()
public boolean fresh()
public boolean multicast()
public int getXID()
public void setXID(int pXID)
pXID - MsgHeader.setXID(int)
public byte[] serialize(boolean pSetMulticastFlag,
boolean pDatagramLimited,
boolean pKeepXID)
throws ServiceLocationException
pSetMulticastFlag - pDatagramLimited - pKeepXID -
ServiceLocationException
public byte[] serialize(boolean pSetMulticastFlag,
boolean pDatagramLimited,
boolean pKeepXID,
SerializeOption pOption)
throws ServiceLocationException
pSetMulticastFlag - pDatagramLimited - pKeepXID - pOption - - passed to the serializeBody() method of the inherited
classes
ServiceLocationException
protected abstract boolean serializeBody(SLPOutputStream pOutStr,
SerializeOption pOption)
throws ServiceLocationException
ServiceLocationExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||