Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
G
M
O
P
R
S
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.
Reply
The id of any request that this is intended to be a reply for.
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(ReplyT)
- 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
Reply
<
ReqIdT
> - 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.
Request
<
ReqIdT
,
ReqT
extends
Request
<
ReqIdT
,
ReqT
,
ReplyT
>,
ReplyT
> - Interface in
org.opennms.protocols.rt
A Request intended to be sent via a Messenger.
RequestTracker
<
ReqIdT
,
ReqT
extends
Request
<
ReqIdT
,
ReqT
,
ReplyT
>,
ReplyT
extends
Reply
<
ReqIdT
>> - Class in
org.opennms.protocols.rt
A class for tracking sending and received of arbitrary messages.
RequestTracker(String, Messenger<ReqT, ReplyT>)
- Constructor for class org.opennms.protocols.rt.
RequestTracker
Construct a RequestTracker that sends and received messages using the indicated messenger.
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.
A
G
M
O
P
R
S
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2009. All Rights Reserved.