Package org.omg.Messaging
Contains CORBA synchronization modes, specifying how far the request shall
progress before control is returned to the client for one way operations.
See:
Description
Interface Summary |
SYNC_WITH_TRANSPORT |
A CORBA synchronization mode, defining how far the request shall
progress before control is returned to the client for one way
operations (when no response is required). |
Class Summary |
SyncScopeHelper |
A helper operations for synchronization scope as an alias of
short .
|
Contains CORBA synchronization modes, specifying how far the request shall
progress before control is returned to the client for one way operations.
The one way operation is an operation when no response is required.
OMG specification defines the following modes:
-
SYNC_NONE (0) - The ORB returns control before sending the request message.
-
SYNC_WITH_TRANSPORT (1) - The ORB returns control to the client only after the
transport has accepted the request message. There is stil no guarantee that the
request will be delivered.
-
SYNC_WITH_SERVER (2) - The ORB waits for the reply message from the server side ORB.
-
SYNC_WITH_TARGET (3) is equivalent for the synchronous, no one way operations.
It is the most realiable, also the slowest one.
The java API specification up till 1.4 inclusive defines only one
constant, SYNC_WITH_TRANSPORT. Others may appear in the future versions.