public void eventHubConnect ( String peerUrl , String pem ) { this . eventHub . setPeerAddr ( peerUrl , pem ) ; this . eventHub . connect ( ) ; }
Set and connect to the peer to be used as the event source .