Alchemy Websockets
An extremely efficient C# WebSocket server.
Alchemy.AccessPolicyServer Class Reference

This is the Flash Access Policy Server It manages sending the XML cross domain policy to flash socket clients over port 843. See http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html for details. More...

Inheritance diagram for Alchemy.AccessPolicyServer:
Alchemy.TcpServer

List of all members.

Public Member Functions

 AccessPolicyServer (IPAddress listenAddress, string originDomain, int allowedPort)
 Initializes a new instance of the AccessPolicyServer class.
void SendResponse (TcpClient connection)
 Sends the response.

Protected Member Functions

override void OnRunClient (TcpClient connection)
 Fires when a client connects.

Detailed Description

This is the Flash Access Policy Server It manages sending the XML cross domain policy to flash socket clients over port 843. See http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html for details.

Definition at line 13 of file AccessPolicyServer.cs.


Constructor & Destructor Documentation

Alchemy.AccessPolicyServer.AccessPolicyServer ( IPAddress  listenAddress,
string  originDomain,
int  allowedPort 
)

Initializes a new instance of the AccessPolicyServer class.

Parameters:
listenAddressThe listen address.
originDomainThe origin domain.
allowedPortThe allowed port.

Definition at line 32 of file AccessPolicyServer.cs.


Member Function Documentation

override void Alchemy.AccessPolicyServer.OnRunClient ( TcpClient  connection) [protected, virtual]

Fires when a client connects.

Parameters:
connectionThe TCP Connection.

Implements Alchemy.TcpServer.

Definition at line 48 of file AccessPolicyServer.cs.

void Alchemy.AccessPolicyServer.SendResponse ( TcpClient  connection)

Sends the response.

Parameters:
connectionThe TCP Connection.

Definition at line 68 of file AccessPolicyServer.cs.

Referenced by Alchemy.AccessPolicyServer.OnRunClient(), and Alchemy.Handlers.Handler.ProcessHeader().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties