Click or drag to resize

INetworkImp Interface

The core network connection and sending object interface.

Namespace:  Fusee.Engine.Common
Assembly:  Fusee.Engine.Common (in Fusee.Engine.Common.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public interface INetworkImp

The INetworkImp type exposes the following members.

Properties
  NameDescription
Public propertyConfig
Gets or sets the configuration of the network. NetConfigValues
Public propertyConnections
Gets all the connections that this instance is handling.
Public propertyIncomingMsg
Gets all the incoming Messages that are not yet viewed.
Public propertyStatus
Gets or sets the status.
Top
Methods
  NameDescription
Public methodCloseConnection
Closes the connection.
Public methodCloseDevices
Closes all network connections.
Public methodGetLocalIp
Gets the local ip. Do not use this often due to performance reasons.
Public methodOnUpdateFrame
Called when [update frame] occurs.
Public methodOpenConnection
Establish connection to port and host.
Public methodSendDiscoveryMessage
Sends the discovery message on defined port.
Public methodSendMessage
Sends a message through a channel with defined message delivery type.
Public methodStartPeer
Initialize system on port.
Top
Events
  NameDescription
Public eventConnectionUpdate
Occurs when [connection update] is triggered. ConnectionUpdateEvent
Top
Remarks
Implementation Tasks: This object has to handle everything that is required for network communication. Possible topics are Configuration, Status of connection and system as well as connection and message handling.
See Also