public class NotificationsManager extends NotificationsClient
| Constructor and Description |
|---|
NotificationsManager(BimServerClient bimServerClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(org.bimserver.shared.meta.SServicesMap servicesMap,
String address) |
void |
disconnect() |
BimServerClient |
getBimServerClient() |
long |
getEndpointid() |
void |
handleIncoming(com.fasterxml.jackson.databind.node.ObjectNode request) |
boolean |
isRunning() |
void |
registerProgressHandler(Long topicId,
ProgressHandler progressHandler) |
void |
send(com.fasterxml.jackson.databind.JsonNode jsonNode) |
void |
setBinaryMessageListener(BinaryMessageListener binaryMessageListener) |
void |
setEndpointId(long endpointid) |
void |
start() |
void |
startAndWaitForInit() |
void |
unregisterNotifictionListener(org.bimserver.shared.interfaces.NotificationInterface notificationInterface) |
void |
unregisterProgressHandler(Long topicId,
ProgressHandler progressHandler) |
notifyConnect, notifyDisconnect, registerConnectDisconnectListener, unregisterConnectDisconnectListenerpublic NotificationsManager(BimServerClient bimServerClient)
public void setBinaryMessageListener(BinaryMessageListener binaryMessageListener)
public void start()
public void connect(org.bimserver.shared.meta.SServicesMap servicesMap, String address)
public void send(com.fasterxml.jackson.databind.JsonNode jsonNode)
public void disconnect()
public boolean isRunning()
public void startAndWaitForInit()
public void unregisterNotifictionListener(org.bimserver.shared.interfaces.NotificationInterface notificationInterface)
public BimServerClient getBimServerClient()
public long getEndpointid()
public void setEndpointId(long endpointid)
public void unregisterProgressHandler(Long topicId, ProgressHandler progressHandler)
public void registerProgressHandler(Long topicId, ProgressHandler progressHandler)
public void handleIncoming(com.fasterxml.jackson.databind.node.ObjectNode request)
throws org.bimserver.shared.exceptions.UserException,
ConvertException,
IOException
Copyright © 2019 OpenSource BIM. All rights reserved.