public class NotificationsManager extends NotificationsClient implements org.bimserver.plugins.services.NotificationsManagerInterface
| 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,
org.bimserver.plugins.services.ProgressHandler progressHandler) |
void |
send(com.fasterxml.jackson.databind.JsonNode jsonNode) |
void |
setBinaryMessageListener(long topicId,
org.bimserver.client.notifications.BinaryMessageListener binaryMessageListener) |
void |
setEndpointId(Long endpointid) |
void |
socketIsClosed() |
void |
start() |
void |
startAndWaitForInit() |
void |
unregisterNotifictionListener(org.bimserver.shared.interfaces.NotificationInterface notificationInterface) |
void |
unregisterProgressHandler(Long topicId,
org.bimserver.plugins.services.ProgressHandler progressHandler) |
notifyConnect, notifyDisconnect, registerConnectDisconnectListener, unregisterConnectDisconnectListenerpublic NotificationsManager(BimServerClient bimServerClient)
public void setBinaryMessageListener(long topicId,
org.bimserver.client.notifications.BinaryMessageListener binaryMessageListener)
setBinaryMessageListener in interface org.bimserver.plugins.services.NotificationsManagerInterfacepublic void start()
public void connect(org.bimserver.shared.meta.SServicesMap servicesMap, String address)
public void send(com.fasterxml.jackson.databind.JsonNode jsonNode)
send in interface org.bimserver.plugins.services.NotificationsManagerInterfacepublic 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, org.bimserver.plugins.services.ProgressHandler progressHandler)
public void registerProgressHandler(Long topicId, org.bimserver.plugins.services.ProgressHandler progressHandler)
registerProgressHandler in interface org.bimserver.plugins.services.NotificationsManagerInterfacepublic void handleIncoming(com.fasterxml.jackson.databind.node.ObjectNode request)
throws org.bimserver.shared.exceptions.UserException,
ConvertException,
IOException
public void socketIsClosed()
Copyright © 2019 OpenSource BIM. All rights reserved.