UnicastConnection function ( ) { if ( ssock == null ) { return ( getClientConnection ( ) ) ; } else { return ( getServerConnection ( ) ) ; } }
get a connection from this manager . concode_field_sep String localhost concode_elem_sep Hashtable servers concode_elem_sep Object other concode_elem_sep RMISocketFactory defaultSocketFactory concode_elem_sep int ncmanager concode_elem_sep Thread serverThread concode_elem_sep RMIClientSocketFactory clientFactory concode_elem_sep String serverName concode_elem_sep boolean debug concode_elem_sep RMIServerSocketFactory serverFactory concode_elem_sep int nssock concode_elem_sep Object GLOBAL_LOCK concode_elem_sep Thread scavenger concode_elem_sep int serverPort concode_elem_sep Hashtable clients concode_elem_sep Object serverobj concode_elem_sep int port concode_elem_sep String host concode_elem_sep ServerSocket ssock concode_elem_sep int nsmanager concode_elem_sep ArrayList connections concode_elem_sep int ncsock concode_field_sep UnicastConnectionManager read concode_elem_sep void startServer concode_elem_sep void stopServer concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep UnicastConnection getClientConnection concode_elem_sep void startScavenger concode_elem_sep void run concode_elem_sep UnicastConnection getServerConnection concode_elem_sep UnicastConnectionManager getInstance concode_elem_sep UnicastConnectionManager getInstance concode_elem_sep void discardConnection concode_elem_sep void write