T_Furcadia_Net_Pounce_PounceConnection - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki

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

System.Object
  Furcadia.Net.Pounce.PounceConnection
    Furcadia.Net.Pounce.PounceClient
Namespace: Furcadia.Net.Pounce
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 43

Syntax

C#

public class PounceConnection

VB

Public Class PounceConnection

VB Usage

Dim instance As PounceConnection

C++

public ref class PounceConnection

F#

type PounceConnection =  class end

The PounceConnection type exposes the following members.

Constructors

 

Name Description
Public method PounceConnection() default constructor
Public method PounceConnection(String, String[], String[]) A HTTP web request
  Back to Top

Properties

 

Name Description
Public propertyStatic member EncoderPage Set the Encoder to Windows 1252 encoding
Public property NumberOfDreamsOnMainMaps
Public property RawResponse When a response from the server is received this property will contain the raw HTTP string.
Public propertyStatic member Status Pounce HTTP Status
Public propertyStatic member TotalFurresOnline Total on-line Furre count retrieved from an on-line check request
  Back to Top

Methods

 

Name Description
Public method AddFriend Adds a friend to a list of friends. Throws a Exception on non alphanumeric string.
Public method CheckFriendName 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 method CheckFriendNames Iterates through friend's names to make sure they are valid alpha numeric (a-z0-9).
Public method ClearFriends Removes everyone from the friends list.
Public method Connect Connects to the on-line check server and sends a on-line check request
Public method ConnectAsync Connects asynchronously to the on-line check server and sends a request without affecting the executing thread.
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 RemoveFriend Removes specified name from the list
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Events

 

Name Description
Public event Response Called when a on-line check request sends a response. First argument is a list of players on-line.
  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

Remarks

Pounce server returns a list on online objects (Furres,Dreams,Channels?)

See Also

Reference

Furcadia.Net.Pounce Namespace

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