@@ -70,7 +70,7 @@ export class TcpUtils {
7070 for ( const url of info . urls ) {
7171 try {
7272 const socket = await this . connect ( url , serverCertificate , clientCertificate ) ;
73- const supportedFeatures = await this . invokeNegotiation ( info , operationType , negotiationCallback , url , socket ) ;
73+ const supportedFeatures = await this . _invokeNegotiation ( info , operationType , negotiationCallback , url , socket ) ;
7474 return new ConnectSecuredTcpSocketResult ( url , socket , supportedFeatures ) ;
7575 } catch {
7676 // ignored
@@ -79,11 +79,11 @@ export class TcpUtils {
7979 }
8080
8181 const socket = await this . connect ( info . url , serverCertificate , clientCertificate ) ;
82- const supportedFeatures = await this . invokeNegotiation ( info , operationType , negotiationCallback , info . url , socket ) ;
82+ const supportedFeatures = await this . _invokeNegotiation ( info , operationType , negotiationCallback , info . url , socket ) ;
8383 return new ConnectSecuredTcpSocketResult ( info . url , socket , supportedFeatures ) ;
8484 }
8585
86- private static invokeNegotiation ( info : TcpConnectionInfo , operationType : OperationTypes , negotiationCallback : NegotiationCallback , url : string , socket : Socket ) {
86+ private static _invokeNegotiation ( info : TcpConnectionInfo , operationType : OperationTypes , negotiationCallback : NegotiationCallback , url : string , socket : Socket ) {
8787 switch ( operationType ) {
8888 case "Subscription" :
8989 return negotiationCallback ( url , info , socket ) ;
0 commit comments