Class RemoteConnection

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    BroadcastRemoteConnection, RMIRemoteConnection

    public abstract class RemoteConnection
    extends Object
    implements Serializable

    Purpose: Define an abstract class for the remote object that can execute a remote command using different transport protocols.

    Description: This abstract class represents the remote object that is used by the remote command manager to send remote commands. The underlying transport mechanism is transparently implemented by the transport subclass implementations.

    Since:
    OracleAS TopLink 10g (9.0.4)
    See Also:
    Serialized Form
    • Field Detail

      • serviceId

        protected ServiceId serviceId
        The service on the receiving end of this connection
    • Constructor Detail

      • RemoteConnection

        public RemoteConnection()
    • Method Detail

      • getServiceId

        public ServiceId getServiceId()
        INTERNAL: Return the service info of the receiving service
      • setServiceId

        public void setServiceId​(ServiceId newServiceId)
        INTERNAL: Set the service info of the receiving service
      • close

        public void close()
        INTERNAL: cleanup whatever is necessary. Invoked when the TransportManager discard connections.