Package dev.enola.chat
Interface Switchboard
- All Known Implementing Classes:
SimpleInMemorySwitchboard,TestSwitchboard
public interface Switchboard
PBX.
-
Method Summary
Modifier and TypeMethodDescriptionvoidpost(Message.Builder message) Post a Message to the switchboard.voidWatch the switchboard for new messages.
-
Method Details
-
post
Post a Message to the switchboard. -
watch
Watch the switchboard for new messages.This is intended to be used mostly internally; "applications" should write
Agents, instead.
-