コード例 #1
0
 public BlockingSocketProcessor(string host, int port, IProtocolListener protocolListener)
 {
     _host             = host;
     _port             = port;
     _protocolListener = protocolListener;
     _byteChannel      = new ByteChannel(this);
 }
コード例 #2
0
        public AmqpChannel(IByteChannel byteChannel, IProtocolDecoderOutput decoderOutput)
        {
            _byteChannel   = byteChannel;
            _decoderOutput = decoderOutput;
            _syncLock      = new object();

            AMQProtocolProvider   protocolProvider = new AMQProtocolProvider();
            IProtocolCodecFactory factory          = protocolProvider.CodecFactory;

            _encoder = factory.Encoder;
            _decoder = factory.Decoder;
        }
コード例 #3
0
 public ByteChannel(IByteChannel lowerChannel)
 {
     _lowerChannel = lowerChannel;
 }
コード例 #4
0
ファイル: ByteChannel.cs プロジェクト: drzo/opensim4opencog
 public ByteChannel(IByteChannel lowerChannel)
 {
     _lowerChannel = lowerChannel;
 }