drone tagged as version 1569144551

This commit is contained in:
daniel
2019-09-22 09:29:38 +00:00
parent c4f484c320
commit 9d9a111221
12 changed files with 1272 additions and 0 deletions
@@ -0,0 +1,29 @@
[rpclibrary](../README.md) [Globals](../globals.md) ["Interfaces"](../modules/_interfaces_.md) [Destroyable](_interfaces_.destroyable.md)
# Interface: Destroyable
## Hierarchy
* **Destroyable**
↳ [Socket](_interfaces_.socket.md)
## Implemented by
* [RPCServer](../classes/_backend_.rpcserver.md)
## Index
### Methods
* [destroy](_interfaces_.destroyable.md#destroy)
## Methods
### destroy
**destroy**(): *void*
Defined in Interfaces.ts:26
**Returns:** *void*
@@ -0,0 +1,41 @@
[rpclibrary](../README.md) [Globals](../globals.md) ["Interfaces"](../modules/_interfaces_.md) [RPCExporter](_interfaces_.rpcexporter.md)
# Interface: RPCExporter <**T**>
Interface for all classes that may export RPCs
## Type parameters
**T**
## Hierarchy
* **RPCExporter**
## Index
### Properties
* [name](_interfaces_.rpcexporter.md#name)
### Methods
* [exportRPCs](_interfaces_.rpcexporter.md#exportrpcs)
## Properties
### name
**name**: *T.Name*
Defined in Interfaces.ts:8
## Methods
### exportRPCs
**exportRPCs**(): *T.RPCT[]*
Defined in Interfaces.ts:9
**Returns:** *T.RPCT[]*
+151
View File
@@ -0,0 +1,151 @@
[rpclibrary](../README.md) [Globals](../globals.md) ["Interfaces"](../modules/_interfaces_.md) [Socket](_interfaces_.socket.md)
# Interface: Socket
Generic socket interface that can apply to bsock as well as RPCSocket
## Hierarchy
* [Destroyable](_interfaces_.destroyable.md)
**Socket**
## Implemented by
* [RPCSocket](../classes/_frontend_.rpcsocket.md)
## Index
### Properties
* [call](_interfaces_.socket.md#call)
* [fire](_interfaces_.socket.md#fire)
* [hook](_interfaces_.socket.md#hook)
* [on](_interfaces_.socket.md#on)
* [port](_interfaces_.socket.md#port)
* [unhook](_interfaces_.socket.md#unhook)
### Methods
* [close](_interfaces_.socket.md#close)
* [destroy](_interfaces_.socket.md#destroy)
## Properties
### call
**call**: *function*
Defined in Interfaces.ts:19
#### Type declaration:
▸ (`rpcname`: T.Name, ...`args`: T.Any[]): *PromiseT.Any*
**Parameters:**
Name | Type |
------ | ------ |
`rpcname` | T.Name |
`...args` | T.Any[] |
___
### fire
**fire**: *function*
Defined in Interfaces.ts:20
#### Type declaration:
▸ (`rpcname`: T.Name, ...`args`: T.Any[]): *PromiseT.Any*
**Parameters:**
Name | Type |
------ | ------ |
`rpcname` | T.Name |
`...args` | T.Any[] |
___
### hook
**hook**: *function*
Defined in Interfaces.ts:17
#### Type declaration:
▸ (`rpcname`: T.Name, `handler`: function): *[Socket](_interfaces_.socket.md)*
**Parameters:**
**rpcname**: *T.Name*
**handler**: *function*
▸ (...`args`: any[]): *any | Promiseany*
**Parameters:**
Name | Type |
------ | ------ |
`...args` | any[] |
___
### on
**on**: *T.OnFunction*
Defined in Interfaces.ts:21
___
### port
**port**: *number*
Defined in Interfaces.ts:16
___
### unhook
**unhook**: *function*
Defined in Interfaces.ts:18
#### Type declaration:
▸ (`rpcname`: T.Name): *[Socket](_interfaces_.socket.md)*
**Parameters:**
Name | Type |
------ | ------ |
`rpcname` | T.Name |
## Methods
### close
**close**(): *void*
Defined in Interfaces.ts:22
**Returns:** *void*
___
### destroy
**destroy**(): *void*
*Inherited from [Destroyable](_interfaces_.destroyable.md).[destroy](_interfaces_.destroyable.md#destroy)*
Defined in Interfaces.ts:26
**Returns:** *void*