Package com.intellij.util.messages.impl
Class MessageBusImpl
- java.lang.Object
-
- com.intellij.util.messages.impl.MessageBusImpl
-
- All Implemented Interfaces:
MessageBus
public class MessageBusImpl extends Object implements MessageBus
-
-
Constructor Summary
Constructors Constructor Description MessageBusImpl()MessageBusImpl(Object owner, MessageBus parentBus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <L> LasyncPublisher(Topic<L> topic)MessageBusConnectionconnect()MessageBusConnectionconnect(Disposable parentDisposable)voiddeliverSingleMessage()voiddispose()voidnotifyConnectionTerminated(MessageBusConnectionImpl connection)voidnotifyOnSubscription(MessageBusConnectionImpl connection, Topic topic)<L> LsyncPublisher(Topic<L> topic)
-
-
-
Constructor Detail
-
MessageBusImpl
public MessageBusImpl()
-
MessageBusImpl
public MessageBusImpl(Object owner, MessageBus parentBus)
-
-
Method Detail
-
connect
public MessageBusConnection connect()
- Specified by:
connectin interfaceMessageBus
-
connect
public MessageBusConnection connect(Disposable parentDisposable)
- Specified by:
connectin interfaceMessageBus
-
syncPublisher
public <L> L syncPublisher(Topic<L> topic)
- Specified by:
syncPublisherin interfaceMessageBus
-
asyncPublisher
public <L> L asyncPublisher(Topic<L> topic)
- Specified by:
asyncPublisherin interfaceMessageBus
-
dispose
public void dispose()
- Specified by:
disposein interfaceMessageBus
-
notifyOnSubscription
public void notifyOnSubscription(MessageBusConnectionImpl connection, Topic topic)
-
notifyConnectionTerminated
public void notifyConnectionTerminated(MessageBusConnectionImpl connection)
-
deliverSingleMessage
public void deliverSingleMessage()
-
-