net.sf.juoserver.protocol
Class LoginSeed
java.lang.Object
net.sf.juoserver.protocol.AbstractMessage
net.sf.juoserver.protocol.LoginSeed
- All Implemented Interfaces:
- Serializable, Message
public class LoginSeed
- extends AbstractMessage
First message ever sent by a client.
It's made up of 4 bytes, usually consisting
of the client's IP address.
- See Also:
- Serialized Form
Field Summary |
static int |
CODE
|
CODE
public static final int CODE
- See Also:
- Constant Field Values
LoginSeed
public LoginSeed(byte[] contents)
throws UnknownHostException
- Throws:
UnknownHostException
LoginSeed
public LoginSeed(InetAddress address)
getAddress
public InetAddress getAddress()
hashCode
public int hashCode()
- Specified by:
hashCode
in class AbstractMessage
equals
public boolean equals(Object obj)
- Specified by:
equals
in class AbstractMessage
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010-2012. All Rights Reserved.