Package com.yahoo.feedapi
Class DummySessionFactory
java.lang.Object
com.yahoo.feedapi.DummySessionFactory
- All Implemented Interfaces:
SessionFactory
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSendSession
(com.yahoo.messagebus.ReplyHandler r) Creates a messagebus session for sending regular messages.static DummySessionFactory
-
Field Details
-
messages
-
-
Constructor Details
-
DummySessionFactory
-
-
Method Details
-
createWithAutoReply
-
createSendSession
Description copied from interface:SessionFactory
Creates a messagebus session for sending regular messages.- Specified by:
createSendSession
in interfaceSessionFactory
- Parameters:
r
- A replyhandler to callback when receiving replies from messagebus- Returns:
- The session to use for sending messages.
-