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 > policy) | |
Construct from custom policy_. More... | |
void | open (int port=843) |
Open server. More... | |
auto | getPolicy () const -> std::shared_ptr< library::XML > |
Get policy. More... | |
Private Member Functions | |
void | accept (std::shared_ptr< boost::asio::ip::tcp::socket > socket) |
Accept client. More... | |
Private Attributes | |
std::shared_ptr< library::XML > | policy |
cross-domain-policy_ More... | |
A flash policy server.
FlashPolicyServer is a policy_ server replying cross-domain-policy_ to flash clients.
Definition at line 23 of file FlashPolicyServer.hpp.
|
inline |
Default constructor.
The cross-domain-policy_ is to accept all, any client.
Definition at line 37 of file FlashPolicyServer.hpp.
|
inline |
Construct from custom policy_.
policy_ | Custom cross-domain-policy_ to adjust |
Definition at line 56 of file FlashPolicyServer.hpp.
|
inline |
Open server.
Definition at line 64 of file FlashPolicyServer.hpp.
|
inline |
Get policy.
Definition at line 82 of file FlashPolicyServer.hpp.
|
inlineprivate |
Accept client.
Accepts flash client and replies cross-domain-policy_
Definition at line 98 of file FlashPolicyServer.hpp.
|
private |
cross-domain-policy_
Definition at line 29 of file FlashPolicyServer.hpp.