|
Alchemy Websockets
An extremely efficient C# WebSocket server.
|
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...
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. | |
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.
| Alchemy.AccessPolicyServer.AccessPolicyServer | ( | IPAddress | listenAddress, |
| string | originDomain, | ||
| int | allowedPort | ||
| ) |
Initializes a new instance of the AccessPolicyServer class.
| listenAddress | The listen address. |
| originDomain | The origin domain. |
| allowedPort | The allowed port. |
Definition at line 32 of file AccessPolicyServer.cs.
| override void Alchemy.AccessPolicyServer.OnRunClient | ( | TcpClient | connection | ) | [protected, virtual] |
Fires when a client connects.
| connection | The TCP Connection. |
Implements Alchemy.TcpServer.
Definition at line 48 of file AccessPolicyServer.cs.
| void Alchemy.AccessPolicyServer.SendResponse | ( | TcpClient | connection | ) |
Sends the response.
| connection | The TCP Connection. |
Definition at line 68 of file AccessPolicyServer.cs.
Referenced by Alchemy.AccessPolicyServer.OnRunClient(), and Alchemy.Handlers.Handler.ProcessHeader().