WebRTC Network  0.96
List of all members
Byn.Net.IWebRtcNetwork Interface Reference

This will allow more detailed access to webrtc for different platforms. Not yet implemented. More...

Inheritance diagram for Byn.Net.IWebRtcNetwork:
Byn.Net.IBasicNetwork Byn.Net.INetwork

Additional Inherited Members

- Public Member Functions inherited from Byn.Net.IBasicNetwork
void StartServer (string address=null)
 Starts a server + asking for it to have a certain address. The use of the address is not guaranteed. If the address is in use the underlaying system will return ServerConnectionFailed. (This can also be triggered if anything else fails in the process) More...
 
void StopServer ()
 Stops incoming connections. This usually doesn't close existing connections thus can be used to enforce a certain amount of maximum allowed connections. More...
 
ConnectionId Connect (string address)
 Connects to a given address or room name. More...
 
- Public Member Functions inherited from Byn.Net.INetwork
bool Dequeue (out NetworkEvent evt)
 This will return the incoming network events. Call this method and handle the incoming events until it returns false. More...
 
bool Peek (out NetworkEvent evt)
 Will return the first event in the queue without removing it. More...
 
void Flush ()
 Sends buffered data. More...
 
void SendData (ConnectionId id, byte[] data, int offset, int length, bool reliable)
 Sends the content if a byte array to the given connection. More...
 
void Disconnect (ConnectionId id)
 Disconnects the given connection More...
 
void Shutdown ()
 Disconnects all connection and shuts down the server if started. Dequeue will still return the confirmation messages such as Disconnected event for each connection. More...
 
void Update ()
 Call this every frame if you intend to read incoming messages using Dequeue. This will make sure all data is read received by the network. More...
 

Detailed Description

This will allow more detailed access to webrtc for different platforms. Not yet implemented.


The documentation for this interface was generated from the following file: