org.openflow.gui.net.protocol.auth
Class AuthStatus

java.lang.Object
  extended by org.openflow.gui.net.protocol.OFGMessage
      extended by org.openflow.gui.net.protocol.auth.AuthStatus
All Implemented Interfaces:
Message<OFGMessageType>

public class AuthStatus
extends OFGMessage

Authentication status update message.

Author:
David Underhill

Field Summary
 boolean authenticated
          whether the receiver has been authenticated
 java.lang.String msg
          status message
 
Fields inherited from class org.openflow.gui.net.protocol.OFGMessage
SIZEOF, timeCreated, TSSEP, type, xid
 
Constructor Summary
AuthStatus(int len, int xid, java.io.DataInput in)
          Read in the body of an AuthRequest.
 
Method Summary
 int length()
          total length of this message in bytes
 java.lang.String toString()
          String representation of the message including the date and type.
 
Methods inherited from class org.openflow.gui.net.protocol.OFGMessage
getType, isStatefulReply, isStatefulRequest, timeCreated, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

authenticated

public final boolean authenticated
whether the receiver has been authenticated


msg

public final java.lang.String msg
status message

Constructor Detail

AuthStatus

public AuthStatus(int len,
                  int xid,
                  java.io.DataInput in)
           throws java.io.IOException
Read in the body of an AuthRequest.

Throws:
java.io.IOException
Method Detail

length

public int length()
Description copied from class: OFGMessage
total length of this message in bytes

Overrides:
length in class OFGMessage

toString

public java.lang.String toString()
Description copied from class: OFGMessage
String representation of the message including the date and type. Also includes the transaction ID if it is non-zero.

Overrides:
toString in class OFGMessage