Exemplo n.º 1
0
        public void SendVia(IOutputSocket outputOutputSocket)
        {
            var marshalledContent = _marshalling.Of(_content);

            outputOutputSocket.Open();
            outputOutputSocket.Send(marshalledContent);
            outputOutputSocket.Close();
        }
Exemplo n.º 2
0
 //for tests
 public Outbound(IOutputSocket outputSocket)
 {
     _outputSocket = outputSocket;
 }
Exemplo n.º 3
0
 public Outbound()
 {
     _outputOutputSocket = ApplicationRoot.Context.Resolve <IOutputSocket>();
 }