public interface _ConnectionOperationsNC
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
_toString()
Return a description of the connection as human readable text,
suitable for logging or error messages.
|
void |
close(boolean force)
Close a connection, either gracefully or forcefully.
|
ObjectPrx |
createProxy(Identity id)
Create a special proxy that always uses this connection.
|
void |
flushBatchRequests()
Flush any pending batch requests for this connection.
|
ACM |
getACM()
Get the ACM parameters.
|
ObjectAdapter |
getAdapter()
Get the object adapter that dispatches requests for this
connection.
|
Endpoint |
getEndpoint()
Get the endpoint from which the connection was created.
|
ConnectionInfo |
getInfo()
Returns the connection information.
|
void |
setACM(IntOptional timeout,
Optional<ACMClose> close,
Optional<ACMHeartbeat> heartbeat)
Set the active connection management parameters.
|
void |
setAdapter(ObjectAdapter adapter)
Explicitly set an object adapter that dispatches requests that
are received over this connection.
|
void |
setBufferSize(int rcvSize,
int sndSize)
Set the connectiion buffer receive/send size.
|
void |
setCallback(ConnectionCallback callback)
Set callback on the connection.
|
int |
timeout()
Get the timeout for the connection.
|
java.lang.String |
type()
Return the connection type.
|
void close(boolean force)
force - If true, close forcefully. Otherwise the
connection is closed gracefully.ObjectPrx createProxy(Identity id)
id - The identity for which a proxy is to be created.setAdapter(Ice.ObjectAdapter)void setAdapter(ObjectAdapter adapter)
adapter - The object adapter that should be used by this
connection to dispatch requests. The object adapter must be
activated. When the object adapter is deactivated, it is
automatically removed from the connection.createProxy(Ice.Identity),
setAdapter(Ice.ObjectAdapter)ObjectAdapter getAdapter()
setAdapter(Ice.ObjectAdapter)Endpoint getEndpoint()
void flushBatchRequests()
void setCallback(ConnectionCallback callback)
callback - The connection callback object.void setACM(IntOptional timeout, Optional<ACMClose> close, Optional<ACMHeartbeat> heartbeat)
timeout - The timeout value in seconds.close - The close conditionheartbeat - The hertbeat conditionACM getACM()
java.lang.String type()
int timeout()
java.lang.String _toString()
ConnectionInfo getInfo()
void setBufferSize(int rcvSize,
int sndSize)
rcvSize - The connection receive buffer size.sndSize - The connection send buffer size.