Index

A B C D E G H I K M N R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abort() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
Abort this handler, notifying all listening resources.
abort(String) - Method in interface no.mnemonic.messaging.requestsink.RequestListener
Client-side notification that the request should be aborted
abort(String) - Method in interface no.mnemonic.messaging.requestsink.RequestSink
Signal the abortion of a call.
addListener(RequestListener) - Method in interface no.mnemonic.messaging.requestsink.RequestContext
Add a RequestListener to context.
addListener(RequestListener) - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 
addResponse(Message) - Method in interface no.mnemonic.messaging.requestsink.RequestContext
addResponse(Message) - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 
addResponse(Message, ResponseListener) - Method in interface no.mnemonic.messaging.requestsink.RequestContext
Add a signal response to give back to requesting client, with a acknoeldgement listener to notify when the response has been accepted.
addResponse(Message, ResponseListener) - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 

B

build() - Method in class no.mnemonic.messaging.requestsink.RequestHandler.Builder
 
builder() - Static method in class no.mnemonic.messaging.requestsink.RequestHandler
 
Builder() - Constructor for class no.mnemonic.messaging.requestsink.RequestHandler.Builder
 
bulk - Enum constant in enum no.mnemonic.messaging.requestsink.Message.Priority
 

C

close() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
Close this handler, closing all listening resources.
close(String) - Method in interface no.mnemonic.messaging.requestsink.RequestListener
Client-side notification that the request is closed

D

DEFAULT_RESPONSE_WINDOW_SIZE - Static variable in interface no.mnemonic.messaging.requestsink.Message
 

E

endOfStream() - Method in interface no.mnemonic.messaging.requestsink.RequestContext
Signal end of stream (the current context holder will not provide any more data).
endOfStream() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 
expedite - Enum constant in enum no.mnemonic.messaging.requestsink.Message.Priority
 

G

getCallID() - Method in interface no.mnemonic.messaging.requestsink.Message
 
getCallID() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 
getMessageTimestamp() - Method in interface no.mnemonic.messaging.requestsink.Message
 
getNextResponse() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
Wait for the next response to show up (since the last time this method was called).
getNextResponse(long) - Method in class no.mnemonic.messaging.requestsink.RequestHandler
Wait for the next response to show up (since the last time this method was called).
getPriority() - Method in interface no.mnemonic.messaging.requestsink.Message
 
getResponses(long, int) - Method in class no.mnemonic.messaging.requestsink.RequestHandler
Same as getResponses(long), but will return immediately when maxResults results are returned, without waiting for more results.
getResponsesNoWait() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
Fetch the responses received so far, without delay.
getResponseWindowSize() - Method in interface no.mnemonic.messaging.requestsink.Message
 

H

hasReceivedError() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 

I

isClosed() - Method in interface no.mnemonic.messaging.requestsink.RequestContext
 
isClosed() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 

K

keepAlive(long) - Method in interface no.mnemonic.messaging.requestsink.RequestContext
Request that this request should be kept alive a bit longer
keepAlive(long) - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 

M

Message - Interface in no.mnemonic.messaging.requestsink
A message sent as a request or response.
Message.Priority - Enum in no.mnemonic.messaging.requestsink
Allow client to set a priority hint on the message.
MessagingException - Exception in no.mnemonic.messaging.requestsink
 
MessagingException() - Constructor for exception no.mnemonic.messaging.requestsink.MessagingException
 
MessagingException(String) - Constructor for exception no.mnemonic.messaging.requestsink.MessagingException
 
MessagingException(String, Throwable) - Constructor for exception no.mnemonic.messaging.requestsink.MessagingException
 
MessagingException(Throwable) - Constructor for exception no.mnemonic.messaging.requestsink.MessagingException
 
MessagingInterruptedException - Exception in no.mnemonic.messaging.requestsink
 
MessagingInterruptedException() - Constructor for exception no.mnemonic.messaging.requestsink.MessagingInterruptedException
 
MessagingInterruptedException(String) - Constructor for exception no.mnemonic.messaging.requestsink.MessagingInterruptedException
 
MessagingInterruptedException(String, Throwable) - Constructor for exception no.mnemonic.messaging.requestsink.MessagingInterruptedException
 
MessagingInterruptedException(Throwable) - Constructor for exception no.mnemonic.messaging.requestsink.MessagingInterruptedException
 

N

no.mnemonic.messaging.requestsink - package no.mnemonic.messaging.requestsink
 
notifyClose() - Method in interface no.mnemonic.messaging.requestsink.RequestContext
Notify signal context that server has closed this request.
notifyClose() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 
notifyError(Throwable) - Method in interface no.mnemonic.messaging.requestsink.RequestContext
Notify signal context that an error has occurred while waiting for data
notifyError(Throwable) - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 

R

removeListener(RequestListener) - Method in interface no.mnemonic.messaging.requestsink.RequestContext
Remove a RequestListener from context
removeListener(RequestListener) - Method in class no.mnemonic.messaging.requestsink.RequestHandler
 
RequestContext - Interface in no.mnemonic.messaging.requestsink
A request context is the asynchronous interface for working with a pending request.
RequestHandler - Class in no.mnemonic.messaging.requestsink
Common implementation for asynchronous response handling.
RequestHandler(boolean, String, long) - Constructor for class no.mnemonic.messaging.requestsink.RequestHandler
Deprecated.
Use builder instead
RequestHandler.Builder - Class in no.mnemonic.messaging.requestsink
 
RequestListener - Interface in no.mnemonic.messaging.requestsink
 
RequestSink - Interface in no.mnemonic.messaging.requestsink
 
responseAccepted() - Method in interface no.mnemonic.messaging.requestsink.ResponseListener
Notify server that this response has been accepted, releasing buffer capacity on the client.
ResponseListener - Interface in no.mnemonic.messaging.requestsink
 

S

setAddResponseMaxWaitSeconds(int) - Method in class no.mnemonic.messaging.requestsink.RequestHandler.Builder
 
setAllowKeepAlive(boolean) - Method in class no.mnemonic.messaging.requestsink.RequestHandler.Builder
 
setCallID(String) - Method in class no.mnemonic.messaging.requestsink.RequestHandler.Builder
 
setMaxWait(long) - Method in class no.mnemonic.messaging.requestsink.RequestHandler.Builder
 
setResponseQueueSize(int) - Method in class no.mnemonic.messaging.requestsink.RequestHandler.Builder
 
signal(Message, T, long) - Method in interface no.mnemonic.messaging.requestsink.RequestSink
Send an asyncronous call.
signal(RequestSink, Message, boolean, long) - Static method in class no.mnemonic.messaging.requestsink.RequestHandler
Deprecated.
Use the RequestHandler.builder() to create the RequestHandler, and invoke RequestSink.signal(Message, RequestContext, long) directly.
standard - Enum constant in enum no.mnemonic.messaging.requestsink.Message.Priority
 

T

timeout() - Method in class no.mnemonic.messaging.requestsink.RequestHandler
Signal unexpected timeout to request listeners
timeout() - Method in interface no.mnemonic.messaging.requestsink.RequestListener
Client side notification that an unexpected timeout occurred.

V

valueOf(String) - Static method in enum no.mnemonic.messaging.requestsink.Message.Priority
Returns the enum constant of this type with the specified name.
values() - Static method in enum no.mnemonic.messaging.requestsink.Message.Priority
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForEndOfStream(long) - Method in class no.mnemonic.messaging.requestsink.RequestHandler
Wait for end-of-stream.
A B C D E G H I K M N R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form