Ejemplo n.º 1
0
 static Outgoing()
 {
     Global = new Outgoing();
     _serializer = new DataContractJsonSerializer(typeof(Outgoing));
 }
Ejemplo n.º 2
0
        static Outgoing()
        {
            _serializer = new DataContractJsonSerializer(typeof(Outgoing));

            Global = new Outgoing();
        }
Ejemplo n.º 3
0
        public HTriggers(bool isDetecting)
        {
            DetectOutgoing = isDetecting;
            DetectIncoming = isDetecting;

            IncomingHeaders = new Incoming();
            OutgoingHeaders = new Outgoing();

            _inPrevious = new Stack<HMessage>();
            _outPrevious = new Stack<HMessage>();

            _inLocked = new Dictionary<ushort, Action<InterceptedEventArgs>>();
            _outLocked = new Dictionary<ushort, Action<InterceptedEventArgs>>();
            _inAttaches = new Dictionary<ushort, EventHandler<InterceptedEventArgs>>();
            _outAttaches = new Dictionary<ushort, EventHandler<InterceptedEventArgs>>();
        }
Ejemplo n.º 4
0
 static Outgoing()
 {
     _global       = new Outgoing();
     _outgoingType = typeof(Outgoing);
     _serializer   = new DataContractJsonSerializer(_outgoingType);
 }