public class AdminClient extends Object implements ClientAdmin
| Constructor and Description |
|---|
AdminClient(Map env) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public AdminClient(Map env)
public MessageConnection connectionOpen(MessageConnection mc) throws IOException
ClientAdminconnectionOpen in interface ClientAdminmc - an MessageConnection object which has been established.MessageConnection object enhansed.IOException - Any of the usual Input/Output related exceptions during the verification.public void connectionClosed(MessageConnection mc)
ClientAdminconnectionClosed in interface ClientAdminmc - a MessageConnection object which has been closed.public String getConnectionId()
ClientAdminHandshakeBeginMessagegetConnectionId in interface ClientAdminCopyright © 2019 Terracotta, Inc.. All rights reserved.