games.strategy.net.nio
Class ClientQuarantineConversation

java.lang.Object
  extended by games.strategy.net.nio.QuarantineConversation
      extended by games.strategy.net.nio.ClientQuarantineConversation

public class ClientQuarantineConversation
extends QuarantineConversation


Nested Class Summary
 
Nested classes/interfaces inherited from class games.strategy.net.nio.QuarantineConversation
QuarantineConversation.ACTION
 
Constructor Summary
ClientQuarantineConversation(IConnectionLogin login, java.nio.channels.SocketChannel channel, NIOSocket socket, java.lang.String localName)
           
 
Method Summary
 void close()
          called if this conversation has been removed, either after a TERMINATE was returned from a message, or the channel has been closed.
 java.lang.String getErrorMessage()
           
 java.lang.String getLocalName()
           
 java.net.InetSocketAddress getNetworkVisibleSocketAdress()
           
 java.net.InetSocketAddress getServerLocalAddress()
           
 java.lang.String getServerName()
           
 QuarantineConversation.ACTION message(java.lang.Object o)
          A message has been read.
 void showCredentials()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientQuarantineConversation

public ClientQuarantineConversation(IConnectionLogin login,
                                    java.nio.channels.SocketChannel channel,
                                    NIOSocket socket,
                                    java.lang.String localName)
Method Detail

getLocalName

public java.lang.String getLocalName()

getErrorMessage

public java.lang.String getErrorMessage()

getServerName

public java.lang.String getServerName()

showCredentials

public void showCredentials()

message

public QuarantineConversation.ACTION message(java.lang.Object o)
Description copied from class: QuarantineConversation
A message has been read. What should we do?

Specified by:
message in class QuarantineConversation

getNetworkVisibleSocketAdress

public java.net.InetSocketAddress getNetworkVisibleSocketAdress()

getServerLocalAddress

public java.net.InetSocketAddress getServerLocalAddress()

close

public void close()
Description copied from class: QuarantineConversation
called if this conversation has been removed, either after a TERMINATE was returned from a message, or the channel has been closed.

Specified by:
close in class QuarantineConversation