Defines an interface for a connection that can be shared
by multiple concurrent clients but used by
a single server. The server end of the connection can be
used as a guard in an Alternative
.
Type | Name and description |
---|---|
SharedAltingConnectionClient |
client() Returns a client end of the connection. |
AltingConnectionServer |
server() Returns the server end of the connection. |
Methods inherited from class | Name |
---|---|
interface ConnectionWithSharedAltingClient |
client |
Returns a client end of the connection. This may only be safely used by a single process but further calls will return new clients which may be used by other processes.
SharedAltingConnectionClient
object.Returns the server end of the connection.
AltingConnectionServer
.