Click or drag to resize

Network Class

Core network object. Handles all connections by accessing underlying interface implementations.
Inheritance Hierarchy

Namespace:  Fusee.Engine.Core
Assembly:  Fusee.Engine.Core (in Fusee.Engine.Core.dll) Version: (
public class Network

The Network type exposes the following members.

Public methodNetwork
Initializes a new instance of the Network class
Public propertyConfig
Gets or sets the configuration. NetConfigValues
Public propertyConnections
Gets all connections of type INetworkConnection.
Public propertyIncomingMsg
Gets the incoming INetworkMsg.
Public propertyIncomingMsgCount
Gets the incoming message's count.
Public propertyStatic memberInstance
Provides the Instance of the Network Class.
Public propertyLocalIP
Gets the local ip. Do not use this often due to performance reasons.
Public propertyStatus
Gets or sets the status of the network. NetStatusValues.
Public methodCloseConnection
Closes the connection.
Public methodCloseDevice
Closes all network connections.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpenConnection(Int32)
Opens the connection on specified port.
Public methodOpenConnection(String)
Opens the connection on default port 14242 and specified host.
Public methodOpenConnection(String, Int32)
Opens the connection on specified port and host.
Public methodSendDiscoveryMessage
Sends the discovery message on default port 14242.
Public methodSendDiscoveryMessage(Int32)
Sends the discovery message on specified port.
Public methodSendMessage(Byte)
Sends the message with MessageDelivery.RealiableOrdered on channel 0.
Public methodSendMessage(Byte, MessageDelivery, Int32)
Sends the message with options.
Public methodStartPeer
Initializes the peer on default port 14242.
Public methodStartPeer(Int32)
Initializes the peer on specified port.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public eventOnConnectionUpdate
Occurs when [on connection update] occurs and passes the event over to the network interface implementation.
See Also