public SignalServiceMessagePipe createMessagePipe ( ) { WebSocketConnection webSocket = new WebSocketConnection ( urls . getSignalServiceUrls ( ) [ 0 ] . getUrl ( ) , urls . getSignalServiceUrls ( ) [ 0 ] . getTrustStore ( ) , Optional . of ( credentialsProvider ) , userAgent , connectivityListener , sleepTimer ) ; return new SignalServiceMessagePipe ( webSocket , Optional . of ( credentialsProvider ) ) ; }
Creates a pipe for receiving SignalService messages .