Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public Publish ( string subject, string reply, byte data ) : void | ||
subject | string | |
reply | string | |
data | byte | |
Результат | void |
public Request ( string subject, byte data ) : |
||
subject | string | |
data | byte | |
Результат |
public Request ( string subject, byte data, int timeout ) : |
||
subject | string | |
data | byte | |
timeout | int | |
Результат |
public RequestAsync ( string subject, byte data ) : Task |
||
subject | string | |
data | byte | |
Результат | Task |
public RequestAsync ( string subject, byte data, |
||
subject | string | |
data | byte | |
token | ||
Результат | Task |
public RequestAsync ( string subject, byte data, int timeout ) : Task |
||
subject | string | |
data | byte | |
timeout | int | |
Результат | Task |
public RequestAsync ( string subject, byte data, int timeout, |
||
subject | string | |
data | byte | |
timeout | int | |
token | ||
Результат | Task |
public SubscribeAsync ( string subject ) : IAsyncSubscription | ||
subject | string | |
Результат | IAsyncSubscription |
public SubscribeAsync ( string subject, EventHandler |
||
subject | string | |
handler | EventHandler |
|
Результат | IAsyncSubscription |
public SubscribeAsync ( string subject, string queue ) : IAsyncSubscription | ||
subject | string | |
queue | string | |
Результат | IAsyncSubscription |
public SubscribeAsync ( string subject, string queue, EventHandler |
||
subject | string | |
queue | string | |
handler | EventHandler |
|
Результат | IAsyncSubscription |
public SubscribeSync ( string subject ) : ISyncSubscription | ||
subject | string | |
Результат | ISyncSubscription |
public SubscribeSync ( string subject, string queue ) : ISyncSubscription | ||
subject | string | |
queue | string | |
Результат | ISyncSubscription |