示例#1
0
        //Server name is "hostname" [005]
        protected virtual void OnserverName(DateTime Timestamp, string[] info)
        {
            ServerNameEventArgs eventArgs = new ServerNameEventArgs()
            {
                Timestamp = Timestamp,
                Name      = info[1]
            };

            ServerName.Fire(ServerEndPoint, eventArgs);
        }
示例#2
0
 //Server name is "hostname" [005]
 protected virtual void OnserverName(DateTime Timestamp, string[] info)
 {
     ServerNameEventArgs eventArgs = new ServerNameEventArgs()
     {
         Timestamp = Timestamp,
         Name = info[1]
     };
     ServerName.Fire(ServerEndPoint, eventArgs);
 }