Interface ClientSessionRegisterService
Hierarchy
-
ClientSessionRegisterService
Methods
registerNodes
- registerNodes(nodesToRegister: NodeIdLike[]): Promise<NodeId[]>
- registerNodes(nodesToRegister: NodeIdLike[], callback: (err: Error, registeredNodeIds?: NodeId[]) => void): void
-
Parameters
Returns Promise<NodeId[]>
-
Parameters
-
-
callback: (err: Error, registeredNodeIds?: NodeId[]) => void
-
- (err: Error, registeredNodeIds?: NodeId[]): void
-
Parameters
-
err: Error
-
Optional registeredNodeIds: NodeId[]
Returns void
Returns void
unregisterNodes
- unregisterNodes(nodesToRegister: NodeIdLike[]): Promise<void>
- unregisterNodes(nodesToRegister: NodeIdLike[], callback: (err?: Error) => void): void
-
Parameters
Returns Promise<void>
-
Parameters
-
-
callback: (err?: Error) => void
Returns void