com.solers.slp
Class ServiceDeregistration

java.lang.Object
  |
  +--com.solers.slp.SLPMessage
        |
        +--com.solers.slp.ServiceDeregistration

class ServiceDeregistration
extends SLPMessage

The ServiceDeregistration SLP Message.

Author:
Patrick Callis

Field Summary
private  String _scopes
           
private  ServiceURL _url
           
 
Fields inherited from class com.solers.slp.SLPMessage
_locale, _msgType, _xid, ATTRRPLY, ATTRRQST, DAADVERT, SAADVERT, SRVACK, SRVDEREG, SRVREG, SRVRPLY, SRVRQST, SRVTYPERPLY, SRVTYPERQST
 
Constructor Summary
(package private) ServiceDeregistration(ServiceURL url, Locale locale, String scopes)
           
 
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 com.solers.slp.SLPMessage
getXid, setXid, writeHeader, writeMessage
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

_url

private ServiceURL _url

_scopes

private String _scopes
Constructor Detail

ServiceDeregistration

ServiceDeregistration(ServiceURL url,
                      Locale locale,
                      String scopes)
Method Detail

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

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

toString

public String toString()
Overrides:
toString in class SLPMessage