Created
July 9, 2018 16:21
-
-
Save mayuroks/5999ba75d90aa89fb800890216e2ba19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Service layer that connects/disconnects to the server and | |
| * sends and receives events too. | |
| */ | |
| public interface EventService { | |
| void connect(String username) throws URISyntaxException; | |
| void disconnect(); | |
| Flowable<ChatMessage> sendMessage(ChatMessage chatMessage); | |
| void setEventListener(EventListener eventListener); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment