com.goldeninnovations.smp
Interface SMPServerMBean

All Known Implementing Classes:
SMPServer

public interface SMPServerMBean

MBean Interface describing the management options for the SMPServer


Method Summary
 int getCurrentConnectionCount()
          The number of open connections
 long getTotalConnectionCount()
          The total number of connections made to SMPServer
 void startServer()
          Start the Server
 void stopServer()
          Stop the Server.
 

Method Detail

getCurrentConnectionCount

int getCurrentConnectionCount()
The number of open connections

Returns:
the number of open connections.

getTotalConnectionCount

long getTotalConnectionCount()
The total number of connections made to SMPServer

Returns:
the total number of connections accepted.

startServer

void startServer()
                 throws IOException
Start the Server

Throws:
IOException - thrown if an error occurs.

stopServer

void stopServer()
                throws InterruptedException
Stop the Server.

Throws:
InterruptedException - thrown if the call is interrupted while waiting for thread to finish.


Copyright © 2010 Eric Daugherty. All Rights Reserved.