public class RocketChatClient extends Object
| Constructor and Description |
|---|
RocketChatClient(String serverUrl,
String user,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiVersion() |
Set<Room> |
getPublicRooms() |
String |
getRocketChatVersion() |
Room |
getRoom(String room) |
void |
logout() |
void |
send(Room room,
String message) |
void |
send(String roomName,
String message) |
public Set<Room> getPublicRooms() throws IOException
IOExceptionpublic void logout()
throws IOException
IOExceptionpublic String getApiVersion() throws IOException
IOExceptionpublic String getRocketChatVersion() throws IOException
IOExceptionpublic void send(String roomName, String message) throws sun.security.validator.ValidatorException, IOException
sun.security.validator.ValidatorExceptionIOExceptionpublic void send(Room room, String message) throws sun.security.validator.ValidatorException, IOException
sun.security.validator.ValidatorExceptionIOExceptionpublic Room getRoom(String room) throws IOException
IOExceptionCopyright © 2016. All rights reserved.