com.sun.jmx.remote.opt.security
Class AdminClient
java.lang.Object
com.sun.jmx.remote.opt.security.AdminClient
- All Implemented Interfaces:
- ClientAdmin
public class AdminClient
- extends Object
- implements ClientAdmin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminClient
public AdminClient(Map env)
connectionOpen
public MessageConnection connectionOpen(MessageConnection mc)
throws IOException
- Description copied from interface:
ClientAdmin
- 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.
- Specified by:
connectionOpen in interface ClientAdmin
- 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.
connectionClosed
public void connectionClosed(MessageConnection mc)
- Description copied from interface:
ClientAdmin
- Informs that a transport connection has been closed.
- Specified by:
connectionClosed in interface ClientAdmin
- Parameters:
mc - a MessageConnection object which has been closed.
getConnectionId
public String getConnectionId()
- Description copied from interface:
ClientAdmin
- Returns a client id specified by its server. This id is received from the
HandshakeBeginMessage
- Specified by:
getConnectionId in interface ClientAdmin
Copyright © 2014 Terracotta, Inc.. All rights reserved.