net.clackrouter.protocol.data
Class VNSBanner

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

public class VNSBanner
extends VNSData

Encapsulates a message sent from the server to the client.

See Also:
VNSBannerProtocolCommand

Constructor Summary
VNSBanner(java.lang.String message)
          Constucts a banner message.
 
Method Summary
 boolean isBanner()
           
 java.lang.String toString()
          Returns the server message.
 
Methods inherited from class net.clackrouter.protocol.data.VNSData
isClose, isHWInfo, isPacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VNSBanner

public VNSBanner(java.lang.String message)
Constucts a banner message.

Parameters:
message - Information or warning message from the server
Method Detail

isBanner

public boolean isBanner()
Overrides:
isBanner in class VNSData

toString

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

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