public PubnubStandInTransceiver(PubnubCredentials credentials, string hostChannel) { _transceiver = new Pubnub(credentials.PublishingKey, credentials.SubscriptionKey, credentials.SecretKey); _receiverChannel = Guid.NewGuid().ToString(); _transceiver.subscribe(_receiverChannel, Process_output_from_host); _hostChannel = hostChannel; }
public PubnubStandInTransceiver(PubnubCredentials credentials, string hostChannel) { _transceiver = new Pubnub(credentials.PublishingKey, credentials.SubscriptionKey, credentials.SecretKey); _receiverChannel = Guid.NewGuid().ToString(); _transceiver.subscribe(_receiverChannel, Process_output_from_host); _hostChannel = hostChannel; }
public PubnubOperationHost(IFlowRuntime runtime, PubnubCredentials credentials, string channel) { var transceiver = new PubnubHostTransceiver(credentials, channel); _operationHost = new OperationHost(runtime, transceiver, transceiver); }
public PubnubHostTransceiver(PubnubCredentials credentials, string channel) { _transceiver = new Pubnub(credentials.PublishingKey, credentials.SubscriptionKey, credentials.SecretKey); _transceiver.subscribe(channel, Process_input_from_standIn); _channel = channel; }
public PubnubStandInOperation(string name, PubnubCredentials credentials, string hostChannel) : base(name) { var transceiver = new PubnubStandInTransceiver(credentials, hostChannel); _standInOperation = new StandInOperation(name, transceiver, transceiver); }
public PubnubHostTransceiver(PubnubCredentials credentials, string channel) { _transceiver = new Pubnub(credentials.PublishingKey, credentials.SubscriptionKey, credentials.SecretKey); _transceiver.subscribe(channel, Process_input_from_standIn); _channel = channel; }