当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 messaging API Documentation 英文版文档
CheckUserMsg (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档
org.jboss.mq.il.uil2.msgs
Class CheckUserMsg
java.lang.Object
org.jboss.mq.il.uil2.msgs.BaseMsg
org.jboss.mq.il.uil2.msgs.CheckUserMsg
- All Implemented Interfaces:
- Runnable
- public class CheckUserMsg
- extends BaseMsg
- Version:
- $Revision: 1.5 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class org.jboss.mq.il.uil2.msgs.BaseMsg |
createMsg, equals, getError, getMsgID, getMsgType, hashCode, run, setError, setHandler, setMsgID, setUseJMSServerMsgIDs, toString, toString, trimReply |
CheckUserMsg
public CheckUserMsg(boolean authenticate)
CheckUserMsg
public CheckUserMsg(String username,
String password,
boolean authenticate)
getID
public String getID()
setID
public void setID(String id)
getPassword
public String getPassword()
getUsername
public String getUsername()
clearPassword
public void clearPassword()
write
public void write(ObjectOutputStream out)
throws IOException
- Description copied from class:
BaseMsg
- Write the msgType, msgID, hasError flag and optionally the error
- Overrides:
write
in class BaseMsg
- Parameters:
out
-
- Throws:
IOException
read
public void read(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Description copied from class:
BaseMsg
- 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
- Parameters:
in
-
- Throws:
ClassNotFoundException
IOException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.