net.clackrouter.protocol.data
Class VNSClose

java.lang.Object
  extended by net.clackrouter.protocol.data.VNSData
      extended by net.clackrouter.protocol.data.VNSClose

public class VNSClose
extends VNSData

Encapsulates a Close message sent from the server to the client. Upon receiving this message, the client must shut down.

See Also:
VNSCloseProtocolCommand

Constructor Summary
VNSClose(java.lang.String message)
          Constructs a Close message, which forces the client to shut down.
 
Method Summary
 boolean isClose()
           
 java.lang.String toString()
          Returns the server message.
 
Methods inherited from class net.clackrouter.protocol.data.VNSData
isBanner, isHWInfo, isPacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VNSClose

public VNSClose(java.lang.String message)
Constructs a Close message, which forces the client to shut down.

Parameters:
message - An error message from the server
Method Detail

isClose

public boolean isClose()
Overrides:
isClose in class VNSData

toString

public java.lang.String toString()
Returns the server message.

Overrides:
toString in class java.lang.Object
Returns:
Server message