* Note that this method does not need to be synchronized as its only ever going to be
* used by the already-synchronized read() method of a CommandChannel
*
*/
protected Endpoint getEndpoint(SocketAddress address) {
Endpoint endpoint = endpoints.get(address);
if (endpoint == null) {
endpoint = createEndpoint(address);
endpoints.put(address, endpoint);
}
return endpoint;