Package org.jcsp.lang

Interface SharedConnectionServer<T>

All Superinterfaces:
ConnectionServer<T>
All Known Subinterfaces:
NetSharedConnectionServer
All Known Implementing Classes:
NetSharedConnectionServerImpl, SharedConnectionServerImpl

public interface SharedConnectionServer<T> extends ConnectionServer<T>

Defines an interface for a server end of a connection that can be shared by multiple concurrent processes.

SharedConnectionServer objects cannot have their requests ALTed over.

  • Method Details

    • duplicate

      Creates a duplicate copy of the connection end.

      Returns:
      the duplicate SharedConnectionServer object.