com.sun.jmx.remote.generic
Interface ClientSynchroMessageConnection

All Superinterfaces:
SynchroMessageConnection
All Known Implementing Classes:
ClientSynchroMessageConnectionImpl

public interface ClientSynchroMessageConnection
extends SynchroMessageConnection


Method Summary
 Message sendWithReturn(Message msg)
          Sends a message to the remote side and waits a response.
 
Methods inherited from interface com.sun.jmx.remote.generic.SynchroMessageConnection
close, connect, getConnectionId, sendOneWay
 

Method Detail

sendWithReturn

Message sendWithReturn(Message msg)
                       throws IOException
Sends a message to the remote side and waits a response.

An implementation can throw UnsupportedOperationException to tell the caller that it is not supported. For example, if the object is used on a server side and it is not mandatory for the server to send a request spontaneously.

Throws:
UnsupportedOperationException - thrown if the operation is not supported by an implementation.
IOException - if a communication problem occures.


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