Method | Description | |
---|---|---|
Close ( ) : void | ||
Flush ( ) : void |
Flush will perform a round trip to the server and return when it receives the internal reply.
|
|
Flush ( int timeout ) : void | ||
IsClosed ( ) : bool | ||
IsReconnecting ( ) : bool | ||
NewInbox ( ) : string | ||
Publish ( |
||
Publish ( string subject, byte data ) : void | ||
Publish ( string subject, string reply, byte data ) : void | ||
Request ( string subject, byte data ) : |
||
Request ( string subject, byte data, int timeout ) : |
||
RequestAsync ( string subject, byte data ) : Task |
||
RequestAsync ( string subject, byte data, |
||
RequestAsync ( string subject, byte data, int timeout ) : Task |
||
RequestAsync ( string subject, byte data, int timeout, |
||
ResetStats ( ) : void | ||
SubscribeAsync ( string subject ) : IAsyncSubscription | ||
SubscribeAsync ( string subject, EventHandler |
||
SubscribeAsync ( string subject, string queue ) : IAsyncSubscription | ||
SubscribeAsync ( string subject, string queue, EventHandler |
||
SubscribeSync ( string subject ) : ISyncSubscription | ||
SubscribeSync ( string subject, string queue ) : ISyncSubscription | ||
ToString ( ) : string |
Returns a string representation of the value of this Connection instance.
|
Method | Description | |
---|---|---|
Connection ( ) : System | ||
Connection ( |
||
IDisposable ( ) : void | ||
addSubscription ( |
||
buildPublishProtocolBuffer ( int size ) : void | ||
checkForSecure ( ) : void | ||
clearPendingFlushCalls ( ) : void | ||
close ( ConnState closeState, bool invokeDelegates ) : void | ||
connect ( |
||
connect ( ) : void | ||
connectProto ( ) : string | ||
convertToString ( byte buffer, long length ) : string | ||
createConn ( |
||
createPongs ( ) : Queue |
||
deliverMsgs ( Channel |
||
disableSubChannelPooling ( ) : void | ||
doReconnect ( ) : void | ||
enableSubChannelPooling ( ) : void | ||
flushReconnectPendingItems ( ) : void | ||
flusher ( ) : void | ||
generateThreadName ( string prefix ) : string | ||
getMessageChannel ( ) : Channel |
Gets an available message channel for use with async subscribers. It will setup the message channel pool if configured to do so.
|
|
getNormalizedError ( |
||
isClosed ( ) : bool | ||
isConnected ( ) : bool | ||
isConnecting ( ) : bool | ||
isFlusherDone ( ) : bool | ||
isReconnecting ( ) : bool | ||
kickFlusher ( ) : void | ||
makeTLSConn ( ) : void | ||
pickServer ( ) : void | ||
pingTimerCallback ( object state ) : void | ||
processAsyncInfo ( byte jsonBytes, int length ) : void | ||
processConnectInit ( ) : void | ||
processDisconnect ( ) : void | ||
processErr ( |
||
processExpectedInfo ( ) : void | ||
processInfo ( string json ) : void | ||
processMsg ( byte msg, long length ) : void | ||
processMsgArgs ( byte buffer, long length ) : void | ||
processOK ( ) : void | ||
processOpError ( |
||
processPing ( ) : void | ||
processPong ( ) : void | ||
processReconnect ( ) : void | ||
processSlowConsumer ( |
||
publish ( string subject, string reply, byte data ) : void | ||
readLoop ( ) : void | ||
readOp ( ) : Control | ||
removeFlushEntry ( Channel |
||
removeSub ( |
||
request ( string subject, byte data, int timeout ) : |
||
requestAsync ( string subject, byte data, int timeout ) : Task |
||
requestAsync ( string subject, byte data, int timeout, |
||
resendSubscriptions ( ) : void | ||
saveFlushException ( Channel |
||
scheduleConnEvent ( EventHandler |
||
sendConnect ( ) : void | ||
sendPing ( Channel |
||
sendProto ( byte value, int length ) : void | ||
sendSubscriptionMessage ( |
||
setFlusherDone ( bool value ) : void | ||
setupServerPool ( ) : void | ||
sleep ( int millis ) : void | ||
spinUpSocketWatchers ( ) : void | ||
startPingTimer ( ) : void | ||
stopPingTimer ( ) : void | ||
subscribeAsync ( string subject, string queue, EventHandler |
||
subscribeSync ( string subject, string queue ) : |
||
unsubscribe ( |
||
waitForExits ( ) : void | ||
waitForFlusherKick ( ) : bool | ||
writePublishProto ( byte dst, string subject, string reply, int msgSize ) : int | ||
writeString ( string value ) : void | ||
writeString ( string format, object a, object b ) : void | ||
writeString ( string format, object a, object b, object c ) : void | ||
writeStringToBuffer ( byte buffer, int offset, string value ) : int |
public Publish ( string subject, byte data ) : void | ||
subject | string | |
data | byte | |
return | void |
public Publish ( string subject, string reply, byte data ) : void | ||
subject | string | |
reply | string | |
data | byte | |
return | void |
public Request ( string subject, byte data ) : |
||
subject | string | |
data | byte | |
return |
public Request ( string subject, byte data, int timeout ) : |
||
subject | string | |
data | byte | |
timeout | int | |
return |
public RequestAsync ( string subject, byte data ) : Task |
||
subject | string | |
data | byte | |
return | Task |
public RequestAsync ( string subject, byte data, |
||
subject | string | |
data | byte | |
token | ||
return | Task |
public RequestAsync ( string subject, byte data, int timeout ) : Task |
||
subject | string | |
data | byte | |
timeout | int | |
return | Task |
public RequestAsync ( string subject, byte data, int timeout, |
||
subject | string | |
data | byte | |
timeout | int | |
token | ||
return | Task |
public SubscribeAsync ( string subject ) : IAsyncSubscription | ||
subject | string | |
return | IAsyncSubscription |
public SubscribeAsync ( string subject, EventHandler |
||
subject | string | |
handler | EventHandler |
|
return | IAsyncSubscription |
public SubscribeAsync ( string subject, string queue ) : IAsyncSubscription | ||
subject | string | |
queue | string | |
return | IAsyncSubscription |
public SubscribeAsync ( string subject, string queue, EventHandler |
||
subject | string | |
queue | string | |
handler | EventHandler |
|
return | IAsyncSubscription |
public SubscribeSync ( string subject ) : ISyncSubscription | ||
subject | string | |
return | ISyncSubscription |
public SubscribeSync ( string subject, string queue ) : ISyncSubscription | ||
subject | string | |
queue | string | |
return | ISyncSubscription |