private void addEndpoint ( String addr , Own endpoint , Pipe pipe ) { // Activate the session. Make it a child of this socket. launchChild ( endpoint ) ; endpoints . insert ( addr , new EndpointPipe ( endpoint , pipe ) ) ; }
Creates new endpoint ID and adds the endpoint to the map .