Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SocketEvent"/> class with event type and <see cref="MonoTcpClient"/> instance.
 /// </summary>
 /// <param name="eventType">The type of the event.</param>
 /// <param name="server">The instance of <see cref="MonoTcpServer"/>.</param>
 /// <param name="exception">The <see cref="Exception"/> caught.</param>
 public SocketEvent(string eventType, MonoTcpServer server, Exception exception)
     : base(eventType, server)
 {
     Exception = exception;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SocketEvent"/> class with event type and <see cref="MonoTcpServer"/> instance.
 /// </summary>
 /// <param name="eventType">The type of the event.</param>
 /// <param name="server">The instance of <see cref="MonoTcpServer"/>.</param>
 public SocketEvent(string eventType, MonoTcpServer server)
     : base(eventType, server)
 {
 }