Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
G
I
L
M
O
P
R
S
T
A
assertStarted()
- Method in class org.opennms.protocols.rt.
RequestTracker
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.
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
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.
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(Queue<ReplyT>)
- Method in interface org.opennms.protocols.rt.
Messenger
Start listening for replies and enqueue any replies received to the passed in queue These replies will be pulled off by users of the service and processed.
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
trackRequest(ReqT)
- Method in class org.opennms.protocols.rt.
IDBasedRequestLocator
trackRequest(RequestType)
- Method in interface org.opennms.protocols.rt.
RequestLocator
A
G
I
L
M
O
P
R
S
T
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010. All Rights Reserved.