com.sun.jmx.remote.generic
Interface ServerSynchroMessageConnection

All Superinterfaces:
SynchroMessageConnection
All Known Implementing Classes:
ServerSynchroMessageConnectionImpl

public interface ServerSynchroMessageConnection
extends SynchroMessageConnection


Method Summary
 Subject getSubject()
          Returns a connection-specific subject used for authorization.
 void setCallback(SynchroCallback cb)
          Sets a callback to receive a remote request.
 
Methods inherited from interface com.sun.jmx.remote.generic.SynchroMessageConnection
close, connect, getConnectionId, sendOneWay
 

Method Detail

setCallback

void setCallback(SynchroCallback cb)
Sets a callback to receive a remote request.

Parameters:
cb - a callback used to treat a remote request.
Throws:
IllegalArgumentException - thrown if the value of cb is null.

getSubject

Subject getSubject()
Returns a connection-specific subject used for authorization.



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