Click or drag to resize

PounceConnection Class

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

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

Base class for handling the Pounce Server Connections
Inheritance Hierarchy

Namespace:  Furcadia.Net.Pounce
Assembly:  FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 59
Syntax
public class PounceConnection

The PounceConnection type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyStatic memberEncoderPage
Set the Encoder to Windows 1252 encoding
Public propertyNumberOfDreamsOnMainMaps
Public propertyRawResponse
When a response from the server is received this property will contain the raw HTTP string.
Public propertyStatic memberStatus
Pounce HTTP Status
Public propertyStatic memberTotalFurresOnline
Total on-line Furre count retrieved from an on-line check request
Top
Methods
  NameDescription
Public methodAddFriend
Adds a friend to a list of friends. Throws a Exception on non alphanumeric string.
Public methodCheckFriendName
Checks a friend's name to make sure it is a valid alpha numeric (a-z0-9).

Furcadia short-name format is lowercase alpha-numeric strings

Public methodCheckFriendNames
Iterates through friend's names to make sure they are valid alpha numeric (a-z0-9).
Public methodClearFriends
Removes everyone from the friends list.
Public methodConnect
Connects to the on-line check server and sends a on-line check request
Public methodConnectAsync
Connects asynchronously to the on-line check server and sends a request without affecting the executing thread.
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 methodRemoveFriend
Removes specified name from the list
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventResponse
Called when a on-line check request sends a response. First argument is a list of players on-line.
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
Remarks
Pounce server returns a list on online objects (Furres,Dreams,Channels?)
See Also