net.sourceforge.obby4j
Class ServerMetaData

java.lang.Object
  extended by net.sourceforge.obby4j.ServerMetaData

public class ServerMetaData
extends java.lang.Object

Represents meta-data about the server like protocol version, support for encryption mechanims, etc.


Constructor Summary
ServerMetaData(Command cmd)
          Creates new meta-data about a server.
 
Method Summary
 java.lang.String getEncryptionStuff1()
           
 java.lang.String getEncryptionStuff2()
           
 java.lang.String getEncryptionStuff3()
           
 int getProtocolVersion()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerMetaData

public ServerMetaData(Command cmd)
Creates new meta-data about a server.

Parameters:
cmd - an obby_welcome command to extract server meta-data from
Method Detail

getEncryptionStuff1

public java.lang.String getEncryptionStuff1()
Returns:
Returns the encryptionStuff1.

getEncryptionStuff2

public java.lang.String getEncryptionStuff2()
Returns:
Returns the encryptionStuff2.

getEncryptionStuff3

public java.lang.String getEncryptionStuff3()
Returns:
Returns the encryptionStuff3.

getProtocolVersion

public int getProtocolVersion()
Returns:
Returns the protocolVersion.