public void WriteGreeting(NodeGreetingMessage greetingMessage)
        {
            var messageFrame = new MessageFrame {
                RawMessage = greetingMessage.Serialize()
            };

            _queueSocket.Write(messageFrame);
        }
 public void WriteGreeting(NodeGreetingMessage greetingMessage)
 {
     var messageFrame = new MessageFrame { RawMessage = greetingMessage.Serialize() };
     _queueSocket.Write(messageFrame);
 }
Example #3
0
 public async Task WriteGreetingAsync(NodeGreetingMessage greetingMessage, CancellationToken cancellationToken)
 {
     var serialized = greetingMessage.Serialize();
     await _streamSocket.WriteAsync(serialized, 0, serialized.Length, cancellationToken);
 }
Example #4
0
        public void WriteGreeting(NodeGreetingMessage greetingMessage)
        {
            var serialized = greetingMessage.Serialize();

            _streamSocket.Write(serialized, 0, serialized.Length);
        }
 public async Task WriteGreetingAsync(NodeGreetingMessage greetingMessage, CancellationToken cancellationToken)
 {
     var serialized = greetingMessage.Serialize();
     await _streamSocket.WriteAsync(serialized, 0, serialized.Length, cancellationToken);
 }
 public void WriteGreeting(NodeGreetingMessage greetingMessage)
 {
     var serialized = greetingMessage.Serialize();
     _streamSocket.Write(serialized, 0, serialized.Length);
 }