com.monica.javacom.interfaces
Interface MJCCloser

All Superinterfaces:
MJCConfigureable
All Known Implementing Classes:
MJCManager

public interface MJCCloser
extends MJCConfigureable

This interface is responsible to close the client side application upon user request.


Method Summary
 void closeApplication()
          This method closes the client side application.
 java.lang.String getCloserName()
          Returns the MJC name of the MJCCloser.
 java.lang.String getCloserVersion()
          Returns the MJC version of the MJCCloser.
 void setTransport(MJCTransport transport)
          Sets the MJCTransport which is responsible for the data connection between the client and the server.
 void setWindow(MJCWindow window)
          Sets the MJCWindow that represents the user interface of the client side.
 
Methods inherited from interface com.monica.javacom.interfaces.MJCConfigureable
getConfiguration, setConfiguration
 

Method Detail

getCloserName

public java.lang.String getCloserName()
Returns the MJC name of the MJCCloser.
Returns:
String: the MJC name of the MJCCloser

getCloserVersion

public java.lang.String getCloserVersion()
Returns the MJC version of the MJCCloser.
Returns:
String: the MJC version of the MJCCloser

closeApplication

public void closeApplication()
This method closes the client side application.

setTransport

public void setTransport(MJCTransport transport)
Sets the MJCTransport which is responsible for the data connection between the client and the server.
Parameters:
MJCTransport - transport: the MJCTransport that is responsible for the data connection between client and server

setWindow

public void setWindow(MJCWindow window)
Sets the MJCWindow that represents the user interface of the client side.
Parameters:
MJCWindow - window: the MJCWindow that represents the user interface of the client side