NetConnection Class

Furcadia Framework

NetConnection Class

Furcadia Framework For Third Party Programs
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

SystemObject  Furcadia.Net.DirectConnectionClientBase
    Furcadia.Net.DirectConnectionNetConnection

Namespace:  Furcadia.Net.DirectConnection
Assembly:  FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 42
Syntax

public class NetConnection : ClientBase
Public Class NetConnection
	Inherits ClientBase

Dim instance As NetConnection
public ref class NetConnection : public ClientBase
type NetConnection =  
    class
        inherit ClientBase
    end

The NetConnection type exposes the following members.

Constructors

  NameDescription
Public methodNetConnection
Default Constructor
Public methodNetConnection(IPAddress, Int32)
Connect to game server with Host IP address and Specified port
Public methodNetConnection(String, Int32)
Connect to game server with Host DNS and Specified port
Top
Properties

  NameDescription
Public propertyEndPoint
Game Server IP/Port
(Inherited from ClientBase.)
Public propertyIsServerConnected
Proxy is connected, or not.
(Inherited from ClientBase.)
Top
Methods

  NameDescription
Public methodConnect
Connect to game server
(Overrides ClientBaseConnect.)
Public methodDispose
(Inherited from ClientBase.)
Protected methodDispose(Boolean)
(Inherited from ClientBase.)
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 methodSendServer(String)
Send a message to the Game Server
(Overrides ClientBaseSendServer(String).)
Public methodSendServer(INetMessage)
Sends the text to the game server
(Inherited from ClientBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventConnected
This is triggered when the
(Inherited from ClientBase.)
Public eventError
This is triggered when a handled Exception is thrown.
(Inherited from ClientBase.)
Public eventServerData
This is triggered when the Server sends data to the client. Doesn't expect a return value.
(Inherited from ClientBase.)
Public eventServerDisConnected
This is triggered when the Server Disconnects
(Inherited from ClientBase.)
Top
Fields

  NameDescription
Protected fieldFurcadiaUtilities
Furcadia Utilities
(Inherited from ClientBase.)
Public fieldFurcPath
Furcadia Path Collection
(Inherited from ClientBase.)
Top
Extension Methods

  NameDescription
Public Extension MethodAsDouble (Defined by ObjectExtensions.)
Public Extension MethodAsInt16 (Defined by ObjectExtensions.)
Public Extension MethodAsInt32 (Defined by ObjectExtensions.)
Public Extension MethodAsInt64 (Defined by ObjectExtensions.)
Public Extension MethodAsString (Defined by ObjectExtensions.)
Top
See Also

Reference