org.jboss.mq.il.uil2.msgs
Class CheckUserMsg

java.lang.Object
  extended byorg.jboss.mq.il.uil2.msgs.BaseMsg (src) 
      extended byorg.jboss.mq.il.uil2.msgs.CheckUserMsg
All Implemented Interfaces:
java.lang.Runnable

public class CheckUserMsg
extends BaseMsg (src)


Field Summary
 
Fields inherited from class org.jboss.mq.il.uil2.msgs.BaseMsg (src)
error, msgID, msgType
 
Constructor Summary
CheckUserMsg(boolean authenticate)
           
CheckUserMsg(java.lang.String username, java.lang.String password, boolean authenticate)
           
 
Method Summary
 void clearPassword()
           
 java.lang.String getID()
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 void read(java.io.ObjectInputStream in)
          Read the hasError flag and optionally the error.
 void setID(java.lang.String id)
           
 void write(java.io.ObjectOutputStream out)
          Write the msgType, msgID, hasError flag and optionally the error
 
Methods inherited from class org.jboss.mq.il.uil2.msgs.BaseMsg (src)
createMsg, equals, getError, getMsgID, getMsgType, hashCode, run, setError, setHandler, setMsgID, setUseJMSServerMsgIDs, toString, toString, trimReply
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckUserMsg

public CheckUserMsg(boolean authenticate)

CheckUserMsg

public CheckUserMsg(java.lang.String username,
                    java.lang.String password,
                    boolean authenticate)
Method Detail

getID

public java.lang.String getID()

setID

public void setID(java.lang.String id)

getPassword

public java.lang.String getPassword()

getUsername

public java.lang.String getUsername()

clearPassword

public void clearPassword()

write

public void write(java.io.ObjectOutputStream out)
           throws java.io.IOException
Description copied from class: BaseMsg (src)
Write the msgType, msgID, hasError flag and optionally the error

Overrides:
write in class BaseMsg (src)
Parameters:
out -
Throws:
java.io.IOException

read

public void read(java.io.ObjectInputStream in)
          throws java.io.IOException,
                 java.lang.ClassNotFoundException
Description copied from class: BaseMsg (src)
Read the hasError flag and optionally the error. This method is not a complete analog of write because the SocketManager read task reads the msgType and msgID off of the socket.

Overrides:
read in class BaseMsg (src)
Parameters:
in -
Throws:
java.lang.ClassNotFoundException
java.io.IOException