Skip navigation links
A C G H I L M O P R S T 

A

assertStarted() - Method in class org.opennms.protocols.rt.RequestTracker
 

C

call() - Method in class org.opennms.protocols.rt.RequestTracker.ReplyCallback
 
call() - Method in class org.opennms.protocols.rt.RequestTracker.TimedOutRequestCallback
 

G

getDelay(TimeUnit) - Method in interface org.opennms.protocols.rt.Request
Indicates how many units of time are remaining until this request times out.
getId() - Method in interface org.opennms.protocols.rt.Request
Returns the id of this request.
getRequestId() - Method in interface org.opennms.protocols.rt.ResponseWithId
The id of any request that this is intended to be a reply for.

H

handleReply(ReplyT) - Method in interface org.opennms.protocols.rt.ReplyHandler
 
handleReply(ReplyT) - Method in class org.opennms.protocols.rt.RequestTracker
 

I

IDBasedRequestLocator<ReqIdT,ReqT extends Request<ReqIdT,ReqT,ReplyT>,ReplyT extends ResponseWithId<ReqIdT>> - Class in org.opennms.protocols.rt
RequestLocatorImpl
IDBasedRequestLocator() - Constructor for class org.opennms.protocols.rt.IDBasedRequestLocator
 
isProcessed() - Method in interface org.opennms.protocols.rt.Request
Returns true if this request has already been processed.

L

locateMatchingRequest(ReplyT) - Method in class org.opennms.protocols.rt.IDBasedRequestLocator
 
locateMatchingRequest(ResponseType) - Method in interface org.opennms.protocols.rt.RequestLocator
 

M

Messenger<ReqT,ReplyT> - Interface in org.opennms.protocols.rt
A class that represents a simple messaging interface.

O

org.opennms.protocols.rt - package org.opennms.protocols.rt
 

P

processError(Throwable) - Method in interface org.opennms.protocols.rt.Request
If an error or exception occurs during processing of this request then processError is called with the error or exception object.
processResponse(ResponseT) - Method in interface org.opennms.protocols.rt.Request
Tell the request about a reply that come in with matched ids.
processTimeout() - Method in interface org.opennms.protocols.rt.Request
Notify this request that no reply has come in before its timeout has elapsed.

R

ReplyCallback(RequestLocator<ReqT, ReplyT>, ReplyT) - Constructor for class org.opennms.protocols.rt.RequestTracker.ReplyCallback
 
ReplyHandler<ReplyT> - Interface in org.opennms.protocols.rt
Callback method used by the Messenger when a reply is received.
Request<RequestIdT,RequestT extends Request<RequestIdT,RequestT,ResponseT>,ResponseT> - Interface in org.opennms.protocols.rt
A Request intended to be sent via a Messenger.
requestComplete(ReqT) - Method in class org.opennms.protocols.rt.IDBasedRequestLocator
 
requestComplete(RequestType) - Method in interface org.opennms.protocols.rt.RequestLocator
 
RequestLocator<RequestType,ResponseType> - Interface in org.opennms.protocols.rt
RequestLocator
requestTimedOut(ReqT) - Method in class org.opennms.protocols.rt.IDBasedRequestLocator
 
requestTimedOut(RequestType) - Method in interface org.opennms.protocols.rt.RequestLocator
 
RequestTracker<ReqT extends Request<?,ReqT,ReplyT>,ReplyT extends Response> - Class in org.opennms.protocols.rt
A class for tracking sending and received of arbitrary messages.
RequestTracker(String, Messenger<ReqT, ReplyT>, RequestLocator<ReqT, ReplyT>) - Constructor for class org.opennms.protocols.rt.RequestTracker
Construct a RequestTracker that sends and received messages using the indicated messenger.
RequestTracker.ReplyCallback<ReqT extends Request<?,?,ReplyT>,ReplyT> - Class in org.opennms.protocols.rt
 
RequestTracker.TimedOutRequestCallback<ReqT extends Request<?,ReqT,?>,ReplyT> - Class in org.opennms.protocols.rt
 
Response - Interface in org.opennms.protocols.rt
A Reply represents a message that comes in from a Messenger service and is intended to be a response to a previous request.
ResponseWithId<ReqIdT> - Interface in org.opennms.protocols.rt
ResponseWithId

S

sendRequest(ReqT) - Method in interface org.opennms.protocols.rt.Messenger
Send a message using the messenger service
sendRequest(ReqT) - Method in class org.opennms.protocols.rt.RequestTracker
Send a tracked request via the messenger.
start(ReplyHandler<ReplyT>) - Method in interface org.opennms.protocols.rt.Messenger
Start listening for replies and call the reply handler with any replies received.
start() - Method in class org.opennms.protocols.rt.RequestTracker
This method starts all the threads that are used to process the messages and also starts the messenger.

T

TimedOutRequestCallback(RequestTracker<ReqT, ?>, RequestLocator<ReqT, ReplyT>, ReqT) - Constructor for class org.opennms.protocols.rt.RequestTracker.TimedOutRequestCallback
 
trackRequest(ReqT) - Method in class org.opennms.protocols.rt.IDBasedRequestLocator
 
trackRequest(RequestType) - Method in interface org.opennms.protocols.rt.RequestLocator
 
A C G H I L M O P R S T 
Skip navigation links

Copyright © 2015. All rights reserved.