Ejemplo n.º 1
0
 public SyslogHeader(byte seperator)
     : base(seperator)
 {
     Elements = new ProtocolElement[6];
     Elements[0] = new SyslogPriorityVersion();
     Elements[1] = new SyslogTimestamp();
     Elements[2] = new SyslogHostname();
     Elements[3] = new SyslogAppname();
     Elements[4] = new SyslogProcID();
     Elements[5] = new SyslogMsgID();
 }
Ejemplo n.º 2
0
 public SyslogHeader(byte seperator)
     : base(seperator)
 {
     Elements    = new ProtocolElement[6];
     Elements[0] = new SyslogPriorityVersion();
     Elements[1] = new SyslogTimestamp();
     Elements[2] = new SyslogHostname();
     Elements[3] = new SyslogAppname();
     Elements[4] = new SyslogProcID();
     Elements[5] = new SyslogMsgID();
 }