Interface to be used for calling on all the different invoker types (LocalClientInvoker
- Tom Elrod
- Ovidiu Feodorov
This should be set when want to override the default behavior of automatically getting a
suitable locator. This should be used want want to control what type of callbacks to receive
(pull or push). Set to null to poll for callback messages. This can also be used to receive
callbacks using another transport and subsystem, if desired.
- id for callback handler and locator combination.
Gets the client locator. This locator will be used by the server side
to make callbacks to the handler for this locator.
Gets list of AbstractInvoker.CallbackLocatorHolder containing listener id and locator
Gets SocketFactory used to connect to ServerInvoker.
Sets the SocketFactory that will be used to connect to ServerInvoker.
Transport a request against a remote ServerInvoker.
Subclasses must provide this method to return true if their remote connection is connected and
false if disconnected. In some transports, such as SOAP, this method may always return true,
since the remote connectivity is done on demand and not kept persistent like other transports
(such as socket-based transport).
- boolean true if connected, false if not.
Connect to the remote invoker.
Disconnect from the remote invokere.
Must behave as a noop if there's no active lease.
- the lease period (in ms) if the client has an active leasing mechanism with the server
or -1 otherwise.