com.monica.javacom.interfaces
Interface MJCServerManager

All Known Implementing Classes:
MJCLoopBackProtocol

public interface MJCServerManager

This interface is responsible for the management of an MJCTransport server. Currently management only means the handling of the arrival of new clients.


Method Summary
 java.lang.String getServerManagerName()
          Returns the MJC name of the MJCServerManager.
 java.lang.String getServerManagerVersion()
          Returns the MJC version of the MJCServerManager.
 void newClientHasArrivedEvent(MJCTransport server, MJCTransport client)
          This method will be invoked from the MJCTransport when a new client arrives.
 void start()
          This method starts the MJCServerManager.
 

Method Detail

getServerManagerName

public java.lang.String getServerManagerName()
Returns the MJC name of the MJCServerManager.
Returns:
String: the MJC name of the MJCServerManager

getServerManagerVersion

public java.lang.String getServerManagerVersion()
Returns the MJC version of the MJCServerManager.
Returns:
String: the MJC version of the MJCServerManager

newClientHasArrivedEvent

public void newClientHasArrivedEvent(MJCTransport server,
                                     MJCTransport client)
This method will be invoked from the MJCTransport when a new client arrives.
Parameters:
MJCTransport - server: the server that has accepted the client
MJCTrabsport - client: the accepted client

start

public void start()
This method starts the MJCServerManager.