NsdkNetworking
Declaration
public class NsdkNetworking : INetworkingConstructors
public NsdkNetworking(string serverAddr, string roomId, string endpointPrefix)
Properties
| Name | Type | Summary |
|---|---|---|
| readonly NetworkState | NetworkState | - |
| readonly PeerIDs | List<PeerID> | - |
| readonly SelfPeerID | PeerID | - |
| SessionId | string | - |
Methods
| Name | Type | Summary |
|---|---|---|
| Dispose | void | - |
| Join | void | - |
| Leave | void | - |
| SendData | void | - |
Events
| Name | Type | Summary |
|---|---|---|
| DataReceived | Action<DataReceivedArgs> | - |
| NetworkEvent | Action<NetworkEventArgs> | - |
| PeerAdded | Action<PeerIDArgs> | - |
| PeerRemoved | Action<PeerIDArgs> | - |
Relationships
implements: INetworking