private ConnectionData createnewConnectionData ( NetworkConnection vc ) throws FrameworkException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "createnewConnectionData" , vc ) ; ConnectionData connectionDataToUse ; NetworkConnectionContext connLink = vc . getNetworkConnectionContext ( ) ; connectionDataToUse = new ConnectionData ( this , groupEndpointDescriptor ) ; connectionDataToUse . incrementUseCount ( ) ; // New connections start with a use count of zero and it is now in use // No need to lock as it's not in the connectionData list yet OutboundConnection oc = new OutboundConnection ( connLink , vc , tracker , heartbeatInterval , heartbeatTimeout , connectionDataToUse ) ; connectionDataToUse . setConnection ( oc ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "createnewConnectionData" , connectionDataToUse ) ; return connectionDataToUse ; }
Create a new Connection data object