Esempio n. 1
0
        public SessionControlProtocol11()
        {
#warning Overrides static field (not thread safe) with each new instance??? Seems very wrong.

            MessageHandlers[AlertTemplate]       = AlertHandler;
            MessageHandlers[TemplateDefinition]  = new ProtocolDefinitionSessionMessageHandler(this);
            MessageHandlers[TemplateDeclaration] = new ProtocolDeclarationSessionMessageHandler(this);
        }
 public SessionControlProtocol_1_1()
 {
     messageHandlers[FAST_ALERT_TEMPLATE]  = ALERT_HANDLER;
     messageHandlers[TEMPLATE_DEFINITION]  = new ProtocolDefinationSessionMessageHandler(this);
     messageHandlers[TEMPLATE_DECLARATION] = new ProtocolDeclarationSessionMessageHandler(this);
 }
 public SessionControlProtocol_1_1()
 {
     messageHandlers[FAST_ALERT_TEMPLATE] = ALERT_HANDLER;
     messageHandlers[TEMPLATE_DEFINITION] = new ProtocolDefinationSessionMessageHandler(this);
     messageHandlers[TEMPLATE_DECLARATION] = new ProtocolDeclarationSessionMessageHandler(this);
 }
        public SessionControlProtocol11()
        {
#warning Overrides static field (not thread safe) with each new instance??? Seems very wrong.

            MessageHandlers[AlertTemplate] = AlertHandler;
            MessageHandlers[TemplateDefinition] = new ProtocolDefinitionSessionMessageHandler(this);
            MessageHandlers[TemplateDeclaration] = new ProtocolDeclarationSessionMessageHandler(this);
        }