ce = _ce;
ce = new ConnectionEndpoint( _ne );
ce.addProtocol( new ProtocolEndpointTCP( target ));
ce.addProtocol( new ProtocolEndpointUDP( target ));
return( ce );
return( ce.getNotionalAddress());
ProtocolEndpoint[] pes = ce.getProtocols(); for (int i=0;i<pes.length;i++){ if ( pes[i] instanceof ProtocolEndpointTCP ){ return( ((ProtocolEndpointTCP)pes[i]).getAddress()); } } return( null );
ProtocolEndpoint[] pes = ce.getProtocols(); for (int i=0;i<pes.length;i++){ if ( pes[i] instanceof ProtocolEndpointUDP ){ return( ((ProtocolEndpointUDP)pes[i]).getAddress()); } } return( null );