com.sun.jmx.remote.generic
Interface ClientAdmin

All Known Implementing Classes:
AdminClient

public interface ClientAdmin

This interface specifies methods to administrate a client transport connection.


Method Summary
 void connectionClosed(MessageConnection mc)
          Informs that a transport connection has been closed.
 MessageConnection connectionOpen(MessageConnection mc)
          Tells that a transport connection has been established and an implementation of this method is called to verify this connection, for example, to do authentication, to add a encription level to secure the connection etc.
 String getConnectionId()
          Returns a client id specified by its server.
 

Method Detail

connectionOpen

MessageConnection connectionOpen(MessageConnection mc)
                                 throws IOException
Tells that a transport connection has been established and an implementation of this method is called to verify this connection, for example, to do authentication, to add a encription level to secure the connection etc.

Parameters:
mc - an MessageConnection object which has been established.
Returns:
an MessageConnection object enhansed.
Throws:
IOException - Any of the usual Input/Output related exceptions during the verification.
SecurityException - if the verification failed.

connectionClosed

void connectionClosed(MessageConnection mc)
Informs that a transport connection has been closed.

Parameters:
mc - a MessageConnection object which has been closed.

getConnectionId

String getConnectionId()
Returns a client id specified by its server. This id is received from the HandshakeBeginMessage



Copyright © 2014 Terracotta, Inc.. All rights reserved.