Click or drag to resize

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.]

This Instance handles the current Furcadia Connection Session. For Proxy ProxySession

Part2: Furcadia connection Controls, In/Out Ports, Host, Character Ini file. Connect, Disconnect, Reconnect

Part3: This Class Links loosely to the GUI

Inheritance Hierarchy
SystemObject
  Furcadia.Net.DirectConnectionNetConnection

Namespace:  Furcadia.Net.DirectConnection
Assembly:  FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 59
Syntax
public class NetConnection : IDisposable

The NetConnection type exposes the following members.

Constructors
  NameDescription
Public methodNetConnection
Initializes a new instance of the NetConnection class
Public methodNetConnection(ClientOptions)
Initializes a new instance of the NetConnection class
Top
Properties
  NameDescription
Public propertyBanishList
Gets the banish list.
Public propertyBanishName
Current Name for Banish Operations

We mirror Furcadia's Banish system for efficiency

Public propertyConnectedFurre
Connected Furre (Who we are)
Public propertyConnectedFurreId
Gets or sets the connected furre identifier.
Public propertyConnectedFurreName
Gets or sets the name of the connected furre.
Public propertyDream
Current Dream Information with Furre List
Public propertyFurres
Gets or sets the furres.
Public propertyHasShare
We have Dream Share or We are Dream owner
Public propertyInDream
Public propertyIsServerSocketConnected
Gets a value indicating whether this instance is server socket connected.
Public propertyPlayer
Current Triggering player
Public propertyServerConnectPhase
Current server connection phase
Public propertyServerStatus
Server Connection status
Public propertyThroatTired
ServerQueue Throat Tired Mode

When set, a Timer is created to make us wait till the time is clear to resume.

Top
Methods
  NameDescription
Public methodConnect
Connect the Proxy to the Furcadia Game server
Public methodDisconnect
Disconnects this instance.
Public methodDispose
implementation of Dispose pattern callable by consumers.
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 methodGetEnumIntT
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsConnectedCharacter
Are we the current executing character?
Public methodIsConnectedCharacter(IFurre)
Is the target furre the connected characyer?
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnThroatTiredTrigger
Called when [throat tired trigger].
Public methodParseServerChannel
Parse Channel Data
Public methodParseServerData
Parse Server Data
Public methodSendError
send errors to the error handler
Public methodSendFormattedTextToServer
Format basic furcadia commands and send to server

We also mirror the client to server banish system.

This maybe a good place to place Proxy/Bot commands for controls

default to say or "normal spoken command"

Public methodSendToServer
Send a raw instruction to Server through the Load Balancer
Public methodTextToServer
Text Channel Prefixes (shout,whisper emote, Raw Server command)

default to say or "normal spoken command"

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventError
This is triggered when a handled Exception is thrown.
Public eventProcessServerChannelData
Process Display Text and Channels
Public eventProcessServerInstruction
Public eventServerConnected
Occurs when [server connected].
Public eventServerData2
Occurs when [server data2].
Public eventServerDisconnected
This is triggered when the Server Disconnects
Public eventServerStatusChanged
Track the Server Status
Top
Fields
  NameDescription
Public fieldRepq
Public fieldTroatTiredEventHandler
The troat tired event handler
Top
Extension Methods
  NameDescription
Public Extension MethodAsDouble
Ases the double.
(Defined by ObjectExtensions.)
Public Extension MethodAsInt16
converts an object to 16 bit integer
(Defined by ObjectExtensions.)
Public Extension MethodAsInt32
Ases the int32.
(Defined by ObjectExtensions.)
Public Extension MethodAsInt64
Ases the int64.
(Defined by ObjectExtensions.)
Public Extension MethodAsString
Ases the string.
(Defined by ObjectExtensions.)
Top
See Also