Samchon Framework for CPP
1.0.0
|
A flash policy server. More...
#include <FlashPolicyServer.hpp>
Public Member Functions | |
FlashPolicyServer () | |
Default constructor. More... | |
FlashPolicyServer (std::shared_ptr< library::XML >) | |
Construct from custom policy. More... | |
void | openServer () |
Open server. More... | |
Protected Attributes | |
std::shared_ptr< library::XML > | policy |
cross-domain-policy More... | |
Private Member Functions | |
void | accept (Socket *) |
Accept client. More... | |
A flash policy server.
FlashPolicyServer is a policy server replying cross-domain-policy to flash clients.
Definition at line 21 of file FlashPolicyServer.hpp.
FlashPolicyServer::FlashPolicyServer | ( | ) |
Default constructor.
The cross-domain-policy is to accept all, any client.
Definition at line 14 of file FlashPolicyServer.cpp.
References policy.
samchon::protocol::FlashPolicyServer::FlashPolicyServer | ( | std::shared_ptr< library::XML > | ) |
Construct from custom policy.
policy | Custom cross-domain-policy to adjust |
void FlashPolicyServer::openServer | ( | ) |
Open server.
Definition at line 32 of file FlashPolicyServer.cpp.
References accept().
|
private |
Accept client.
Accepts flash client and replies cross-domain-policy
Definition at line 46 of file FlashPolicyServer.cpp.
References policy.
Referenced by openServer().
|
protected |
cross-domain-policy
Definition at line 27 of file FlashPolicyServer.hpp.
Referenced by accept(), and FlashPolicyServer().