org.embedchat.protocol.message.client
Class LoginMessage

java.lang.Object
  extended by org.embedchat.protocol.message.AbstractMessage
      extended by org.embedchat.protocol.message.client.LoginMessage
All Implemented Interfaces:
java.io.Serializable

public class LoginMessage
extends AbstractMessage

Login message format:

commandId - short bodyLength - uint roomId - uint loginName - utf password - utf

Author:
koba
See Also:
Serialized Form

Constructor Summary
LoginMessage()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getLogin()
           
 int getMessageBodyLength()
           
 java.lang.String getPassword()
           
 int getRoomId()
           
 int hashCode()
           
 void setLogin(java.lang.String login)
           
 void setPassword(java.lang.String password)
           
 void setRoomId(int roomId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginMessage

public LoginMessage()
Method Detail

getLogin

public java.lang.String getLogin()

setLogin

public void setLogin(java.lang.String login)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getRoomId

public int getRoomId()

setRoomId

public void setRoomId(int roomId)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getMessageBodyLength

public int getMessageBodyLength()
Specified by:
getMessageBodyLength in class AbstractMessage

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright 2006-2006 embedchat.org. All Rights Reserved.