Exemple #1
0
 public net_driver_t(string name,
                     bool initialized,
                     Init delegate_Init,
                     Listen delegate_Listen,
                     SearchForHosts delegate_SearchForHosts,
                     Connect delegate_Connect,
                     CheckNewConnections delegate_CheckNewConnections,
                     QGetMessage delegate_QGetMessage,
                     QSendMessage delegate_QSendMessage,
                     SendUnreliableMessage delegate_SendUnreliableMessage,
                     CanSendMessage delegate_CanSendMessage,
                     CanSendUnreliableMessage delegate_CanSendUnreliableMessage,
                     Close delegate_Close,
                     Shutdown delegate_Shutdown)
 {
     this.name                              = name;
     this.initialized                       = initialized;
     this.delegate_Init                     = delegate_Init;
     this.delegate_Listen                   = delegate_Listen;
     this.delegate_SearchForHosts           = delegate_SearchForHosts;
     this.delegate_Connect                  = delegate_Connect;
     this.delegate_CheckNewConnections      = delegate_CheckNewConnections;
     this.delegate_QGetMessage              = delegate_QGetMessage;
     this.delegate_QSendMessage             = delegate_QSendMessage;
     this.delegate_SendUnreliableMessage    = delegate_SendUnreliableMessage;
     this.delegate_CanSendMessage           = delegate_CanSendMessage;
     this.delegate_CanSendUnreliableMessage = delegate_CanSendUnreliableMessage;
     this.delegate_Close                    = delegate_Close;
     this.delegate_Shutdown                 = delegate_Shutdown;
 }
Exemple #2
0
 public net_driver_t(string name,
                     bool initialized,
                     Init delegate_Init,
                     Listen delegate_Listen,
                     SearchForHosts delegate_SearchForHosts,
                     Connect delegate_Connect,
                     CheckNewConnections delegate_CheckNewConnections,
                     QGetMessage delegate_QGetMessage,
                     QSendMessage delegate_QSendMessage,
                     SendUnreliableMessage delegate_SendUnreliableMessage,
                     CanSendMessage delegate_CanSendMessage,
                     CanSendUnreliableMessage delegate_CanSendUnreliableMessage,
                     Close delegate_Close,
                     Shutdown delegate_Shutdown)
 {
     this.name = name;
     this.initialized = initialized;
     this.delegate_Init = delegate_Init;
     this.delegate_Listen = delegate_Listen;
     this.delegate_SearchForHosts = delegate_SearchForHosts;
     this.delegate_Connect = delegate_Connect;
     this.delegate_CheckNewConnections = delegate_CheckNewConnections;
     this.delegate_QGetMessage = delegate_QGetMessage;
     this.delegate_QSendMessage = delegate_QSendMessage;
     this.delegate_SendUnreliableMessage = delegate_SendUnreliableMessage;
     this.delegate_CanSendMessage = delegate_CanSendMessage;
     this.delegate_CanSendUnreliableMessage = delegate_CanSendUnreliableMessage;
     this.delegate_Close = delegate_Close;
     this.delegate_Shutdown = delegate_Shutdown;
 }