com.solers.slp
Class ServiceRequest
java.lang.Object
|
+--com.solers.slp.SLPMessage
|
+--com.solers.slp.UAMessage
|
+--com.solers.slp.ServiceRequest
- class ServiceRequest
- extends UAMessage
The ServiceRequest SLP Message.
- Author:
- Patrick Callis
Fields inherited from class com.solers.slp.SLPMessage |
_locale, _msgType, _xid, ATTRRPLY, ATTRRQST, DAADVERT, SAADVERT, SRVACK, SRVDEREG, SRVREG, SRVRPLY, SRVRQST, SRVTYPERPLY, SRVTYPERQST |
Method Summary |
protected int |
calcSize()
Implemented by subclasses to return the size required
by the body of the message. |
String |
toString()
|
protected void |
writeBody(DataOutput out)
Implemented by subclasses to write the message body to
a DataOutput. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
_type
private ServiceType _type
_scopes
private String _scopes
_searchFilter
private String _searchFilter
_spi
private String _spi
ServiceRequest
ServiceRequest(ServiceType type,
String scopes,
String searchFilter,
Locale locale)
calcSize
protected int calcSize()
- Description copied from class:
SLPMessage
- Implemented by subclasses to return the size required
by the body of the message.
- Overrides:
calcSize
in class SLPMessage
writeBody
protected void writeBody(DataOutput out)
throws IOException
- Description copied from class:
SLPMessage
- Implemented by subclasses to write the message body to
a DataOutput. The number of bytes written should be
equal to calcSize()
- Overrides:
writeBody
in class SLPMessage
toString
public String toString()
- Overrides:
toString
in class SLPMessage