Peer is an abstraction for a connection endpoint, similar to a socket in the TCP/IP world.
Peer is extended by the ClientPeer and ServerPeer interfaces.
Each LRMI logical connection is abstracted by a pair of ClientPeer and ServerPeer. Physical
connections may be shared (this is implementation dependent).
Each connection has a timeout attribute, for network oriented operations (connect, invoke,
Each connection may have a security context property. A security context is an object that may be
passed by the protocol adapter provider from a client peer to a server peer in an invocation. A
client peer usually sets the security context of its peer, and the server can retreieve it.
Sophisticated protocol adapter implementations can use a caching mechanism of the security
context on the server peer, forwarding a new security context only upon change of the client