npantarhei.distribution.pubnub.transceivers.PubnubHostTransceiver.PubnubHostTransceiver C# (CSharp) Method

PubnubHostTransceiver() public method

public PubnubHostTransceiver ( PubnubCredentials credentials, string channel ) : System
credentials PubnubCredentials
channel string
return System
        public PubnubHostTransceiver(PubnubCredentials credentials, string channel)
        {
            _transceiver = new Pubnub(credentials.PublishingKey, credentials.SubscriptionKey, credentials.SecretKey);
            _transceiver.subscribe(channel, Process_input_from_standIn);
            _channel = channel;
        }