Class MbusServer

java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.messagebus.jdisc.MbusServer
All Implemented Interfaces:
com.yahoo.jdisc.service.ServerProvider, com.yahoo.jdisc.SharedResource, com.yahoo.messagebus.MessageHandler

public final class MbusServer extends com.yahoo.jdisc.AbstractResource implements com.yahoo.jdisc.service.ServerProvider, com.yahoo.messagebus.MessageHandler
Author:
Simon Thoresen Hult
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.yahoo.jdisc.SharedResource

    com.yahoo.jdisc.SharedResource.Debug
  • Field Summary

    Fields inherited from interface com.yahoo.jdisc.SharedResource

    DEBUG, SYSTEM_PROPERTY_NAME_DEBUG
  • Constructor Summary

    Constructors
    Constructor
    Description
    MbusServer(com.yahoo.jdisc.service.CurrentContainer container, ServerSession session)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    protected void
     
    void
    handleMessage(com.yahoo.messagebus.Message msg)
     
    boolean
     
    void
     

    Methods inherited from class com.yahoo.jdisc.AbstractResource

    currentState, refer, refer, release, retainCount

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.yahoo.jdisc.SharedResource

    refer, refer, release
  • Constructor Details

    • MbusServer

      @Inject public MbusServer(com.yahoo.jdisc.service.CurrentContainer container, ServerSession session)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface com.yahoo.jdisc.service.ServerProvider
    • close

      public void close()
      Specified by:
      close in interface com.yahoo.jdisc.service.ServerProvider
    • isMultiplexed

      public boolean isMultiplexed()
      Specified by:
      isMultiplexed in interface com.yahoo.jdisc.service.ServerProvider
    • destroy

      protected void destroy()
      Overrides:
      destroy in class com.yahoo.jdisc.AbstractResource
    • handleMessage

      public void handleMessage(com.yahoo.messagebus.Message msg)
      Specified by:
      handleMessage in interface com.yahoo.messagebus.MessageHandler
    • connectionSpec

      public String connectionSpec()