Click or drag to resize

ServerQue Class

This stuff is still in the planning stages. Any questions or Comments are welcome.

[This is preliminary documentation and is subject to change.]

Balance the load to the server

Handles Throat-Tired and No Endurance

Inheritance Hierarchy
SystemObject
  Furcadia.Net.UtilsServerQue

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

The ServerQue type exposes the following members.

Constructors
  NameDescription
Public methodServerQue
Constructor setting Defaults
Public methodServerQue(Int32, UInt32)
Initializes a new instance of the ServerQue class.
Top
Properties
  NameDescription
Public propertyNoEndurance
Is the connect `noendurance enabled?
Public propertyPingDelayTime
Ping the server Time in Seconds
Public propertyThroatTired
If Proxy get "Your throat is tired" Pause for a number of seconds

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

Public propertyThroatTiredDelayTime
When "Your throat is tired appears, Pause processing of client to server instructions,
Top
Methods
  NameDescription
Public methodDispose
This code added to correctly implement the disposable pattern.
Public methodDispose(Boolean)
Releases the unmanaged resources used by the ServerQue and optionally releases the managed resources
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 methodSendToServer
Incoming Messages for server processing
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldOnServerSendMessage
Notify subscribers were's sending an instruction to the games server
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