C# Class NATS.Client.SyncSubscription

Inheritance: Subscription, ISyncSubscription, ISubscription
显示文件 Open project: nats-io/csnats Class Usage Examples

Public Methods

Method Description
NextMessage ( ) : Msg
NextMessage ( int timeout ) : Msg

Private Methods

Method Description
SyncSubscription ( Connection conn, string subject, string queue ) : System

Method Details

NextMessage() public method

public NextMessage ( ) : Msg
return Msg

NextMessage() public method

public NextMessage ( int timeout ) : Msg
timeout int
return Msg