C# Class NetMQ.Tests.MockOutgoingSocket

Inheritance: IOutgoingSocket
显示文件 Open project: NetMQ/NetMQ3-x Class Usage Examples

Public Methods

Method Description
MockOutgoingSocket ( TrySendDelegate action ) : System
TrySend ( Msg &msg, System.TimeSpan timeout, bool more ) : bool

Private Methods

Method Description
Send ( Msg &msg, SendReceiveOptions options ) : void

Method Details

MockOutgoingSocket() public method

public MockOutgoingSocket ( TrySendDelegate action ) : System
action TrySendDelegate
return System

TrySend() public method

public TrySend ( Msg &msg, System.TimeSpan timeout, bool more ) : bool
msg Msg
timeout System.TimeSpan
more bool
return bool