org.marketcetera.client
Interface ClientModuleMXBean


@MXBean(value=true)
public interface ClientModuleMXBean

Management interface for the Client Module.

Since:
1.0.0
Version:
$Id: ClientModuleMXBean.java 16154 2012-07-14 16:34:05Z colin $
Author:
anshul@marketcetera.com

Method Summary
 Date getLastConnectTime()
          Returns the time the client was connected or reconnected to the server.
 ClientParameters getParameters()
          Returns the parameters used by the client to connect to the server.
 void reconnect()
          Reconnects the client to the server.
 

Method Detail

reconnect

void reconnect()
               throws RuntimeException
Reconnects the client to the server.

Throws:
RuntimeException - if there were errors while reconnecting.

getParameters

ClientParameters getParameters()
                               throws RuntimeException
Returns the parameters used by the client to connect to the server.

Returns:
the parameters used by the client to connect to the server.
Throws:
RuntimeException - if there errors fetching the parameters.

getLastConnectTime

Date getLastConnectTime()
                        throws RuntimeException
Returns the time the client was connected or reconnected to the server.

Returns:
the time, client was connected to reconnected.
Throws:
RuntimeException - if the client was not initialized.


Copyright © 2012. All Rights Reserved.