Class DummySessionFactory

java.lang.Object
com.yahoo.feedapi.DummySessionFactory
All Implemented Interfaces:
SessionFactory

public class DummySessionFactory extends Object implements SessionFactory
  • Field Details

    • messages

      public final List<com.yahoo.messagebus.Message> messages
  • Constructor Details

    • DummySessionFactory

      public DummySessionFactory(OutputStream out)
  • Method Details

    • createWithAutoReply

      public static DummySessionFactory createWithAutoReply()
    • createSendSession

      public SendSession createSendSession(com.yahoo.messagebus.ReplyHandler r)
      Description copied from interface: SessionFactory
      Creates a messagebus session for sending regular messages.
      Specified by:
      createSendSession in interface SessionFactory
      Parameters:
      r - A replyhandler to callback when receiving replies from messagebus
      Returns:
      The session to use for sending messages.