Example #1
0
 /// <summary>
 /// Create a new NetMQMonitorErrorEventArgs that contains the given monitor, address, and error-code.
 /// </summary>
 /// <param name="monitor">The <see cref="NetMQMonitor"/> that raised this event.</param>
 /// <param name="address">The address of the event.</param>
 /// <param name="socketEvent">The type of socket event that occurred.</param>
 /// <param name="errorCode">The error code associated with this event.</param>
 public NetMQMonitorErrorEventArgs(NetMQMonitor monitor, string address, ErrorCode errorCode, SocketEvents socketEvent)
     : base(monitor, address, socketEvent)
 {
     ErrorCode = errorCode;
 }
Example #2
0
 /// <summary>
 /// Create a new NetMQMonitorEventArgs that contains the given monitor and address.
 /// </summary>
 /// <param name="monitor">The <see cref="NetMQMonitor"/> that raised this event.</param>
 /// <param name="address">The address of the event.</param>
 /// <param name="socketEvent">The type of socket event that occurred.</param>
 protected NetMQMonitorEventArgs(NetMQMonitor monitor, string address, SocketEvents socketEvent)
 {
     Monitor     = monitor;
     Address     = address;
     SocketEvent = socketEvent;
 }
Example #3
0
 /// <summary>
 /// Create a new NetMQMonitorSocketEventArgs that contains the given monitor, address, and socket.
 /// </summary>
 /// <param name="monitor">The <see cref="NetMQMonitor"/> that raised this event.</param>
 /// <param name="address">The address of the event.</param>
 /// <param name="socketEvent">The type of socket event that occurred.</param>
 /// <param name="socket">The socket upon which this event occurred.</param>
 public NetMQMonitorSocketEventArgs(NetMQMonitor monitor, string address, AsyncSocket?socket, SocketEvents socketEvent)
     : base(monitor, address, socketEvent)
 {
     Socket = socket;
 }
 public NetMQMonitorIntervalEventArgs(NetMQMonitor monitor, string address, int interval) : base(monitor, address)
 {
     Interval = interval;
 }
Example #5
0
 /// <summary>
 /// Create a new NetMQMonitorIntervalEventArgs containing the given NetMQMonitor, address, and interval.
 /// </summary>
 /// <param name="monitor">the NetMQMonitor</param>
 /// <param name="address">The a string denoting the address</param>
 /// <param name="interval">The interval, in milliseconds.</param>
 /// <param name="socketEvent">The type of socket event that occurred.</param>
 public NetMQMonitorIntervalEventArgs(NetMQMonitor monitor, string address, int interval, SocketEvents socketEvent)
     : base(monitor, address, socketEvent)
 {
     Interval = interval;
 }
 public NetMQMonitorSocketEventArgs(NetMQMonitor monitor, string address, Socket socket)
     : base(monitor, address)
 {
     Socket = socket;
 }
 public NetMQMonitorErrorEventArgs(NetMQMonitor monitor, string address, ErrorCode errorCode) : base(monitor, address)
 {
     ErrorCode = errorCode;
 }
 public NetMQMonitorEventArgs(NetMQMonitor monitor, string address)
 {
     Monitor = monitor;
     Address = address;
 }
Example #9
0
 /// <summary>
 /// Create a new NetMQMonitorIntervalEventArgs containing the given NetMQMonitor, address, and time-interval.
 /// </summary>
 /// <param name="monitor">the NetMQMonitor</param>
 /// <param name="address">a string denoting the address</param>
 /// <param name="interval">the computed reconnect-interval</param>
 public NetMQMonitorIntervalEventArgs([NotNull] NetMQMonitor monitor, [NotNull] string address, int interval)
     : base(monitor, address)
 {
     Interval = interval;
 }
Example #10
0
 public NetMQMonitorErrorEventArgs([NotNull] NetMQMonitor monitor, [NotNull] string address, ErrorCode errorCode)
     : base(monitor, address)
 {
     ErrorCode = errorCode;
 }
Example #11
0
 public NetMQMonitorSocketEventArgs([NotNull] NetMQMonitor monitor, [NotNull] string address, [NotNull] AsyncSocket socket)
     : base(monitor, address)
 {
     Socket = socket;
 }
Example #12
0
 /// <summary>
 /// Create a new NetMQMonitorEventArgs that contains the given monitor and address.
 /// </summary>
 /// <param name="monitor">a NetMQMonitor for this to hold</param>
 /// <param name="address">a string address for this to hold</param>
 public NetMQMonitorEventArgs([NotNull] NetMQMonitor monitor, [NotNull] string address)
 {
     Monitor = monitor;
     Address = address;
 }