T_Furcadia_Net_DirectConnection_NetConnection - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki

NetConnection Class

This stuff is still in the planning stages. Any questions or Comments are welcome. [This is preliminary documentation and is subject to change.]

Direct Furcadia game server connection with included server load balancer.

Inheritance Hierarchy

System.Object
  Furcadia.Net.DirectConnection.ClientBase
    Furcadia.Net.DirectConnection.NetConnection
Namespace: Furcadia.Net.DirectConnection
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 43

Syntax

C#

public class NetConnection : ClientBase

VB

Public Class NetConnection
	Inherits ClientBase

VB Usage

Dim instance As NetConnection

C++

public ref class NetConnection : public ClientBase

F#

type NetConnection =  
    class
        inherit ClientBase
    end

The NetConnection type exposes the following members.

Constructors

 

Name Description
Public method NetConnection() Default Constructor
Public method NetConnection(IPAddress, Int32) Connect to game server with Host IP address and Specified port
Public method NetConnection(String, Int32) Connect to game server with Host DNS and Specified port
  Back to Top

Properties

 

Name Description
Public property EndPoint Game Server IP/Port (Inherited from ClientBase.)
Public property IsServerConnected Proxy is connected, or not. (Inherited from ClientBase.)
  Back to Top

Methods

 

Name Description
Public method Connect Connect to game server (Overrides ClientBase.Connect().)
Public method Dispose()

(Inherited from ClientBase.)

Protected method Dispose(Boolean)

(Inherited from ClientBase.)

Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SendServer(String) Send a message to the Game Server (Overrides ClientBase.SendServer(String).)
Public method SendServer(INetMessage) Sends the text to the game server (Inherited from ClientBase.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Events

 

Name Description
Public event Connected This is triggered when the (Inherited from ClientBase.)
Public event Error This is triggered when a handled Exception is thrown. (Inherited from ClientBase.)
Public event ServerData This is triggered when the Server sends data to the client. Doesn't expect a return value. (Inherited from ClientBase.)
Public event ServerDisConnected This is triggered when the Server Disconnects (Inherited from ClientBase.)
  Back to Top

Fields

 

Name Description
Protected field FurcadiaUtilities Furcadia Utilities (Inherited from ClientBase.)
Public field FurcPath Furcadia Path Collection (Inherited from ClientBase.)
  Back to Top

Extension Methods

 

Name Description
Public Extension Method AsDouble (Defined by ObjectExtensions.)
Public Extension Method AsInt16 (Defined by ObjectExtensions.)
Public Extension Method AsInt32 (Defined by ObjectExtensions.)
Public Extension Method AsInt64 (Defined by ObjectExtensions.)
Public Extension Method AsString (Defined by ObjectExtensions.)
  Back to Top

See Also

Reference

Furcadia.Net.DirectConnection Namespace

⚠️ **GitHub.com Fallback** ⚠️