19 #ifndef GNASH_NETCONNECTION_H
20 #define GNASH_NETCONNECTION_H
27 #include <boost/shared_ptr.hpp>
71 void call(
as_object* asCallback,
const std::string& methodName,
72 const std::vector<as_value>& args);
81 bool connect(
const std::string& uri);
97 void setURI(
const std::string& uri);
115 void addToURL(
const std::string&
url);
117 typedef std::list<boost::shared_ptr<Connection> > Connections;
125 Connections _oldConnections;
128 std::auto_ptr<Connection> _currentConnection;
135 void startAdvanceTimer();
137 void stopAdvanceTimer();
Definition: NetConnection_as.h:57
Definition: NetConnection_as.h:53
const std::string & getURI() const
Definition: NetConnection_as.h:99
void setURI(const std::string &uri)
Definition: NetConnection_as.cpp:557
Definition: NetConnection_as.h:56
The base class for all ActionScript objects.
Definition: as_object.h:161
Definition: NetConnection_as.h:55
virtual void update()
Process connection stuff.
Definition: NetConnection_as.cpp:612
NetConnection ActionScript class.
Definition: NetConnection_as.h:46
void netconnection_class_init(as_object &where, const ObjectURI &uri)
Definition: NetConnection_as.cpp:410
code
Definition: GnashKey.h:43
void notifyStatus(StatusCode code)
Notify the NetConnection onStatus handler of a change.
Definition: NetConnection_as.cpp:450
as_object & owner() const
Return the as_object that this Relay is attached to.
Definition: Relay.h:108
StatusCode
Definition: NetConnection_as.h:50
std::string validateURL() const
Make the stored URI into a valid and checked URL.
Definition: NetConnection_as.cpp:430
Definition: NetConnection_as.h:54
std::string url
Definition: gnash.cpp:58
Definition: NetConnection_as.h:52
void markReachableResources() const
Mark responders associated with remoting calls.
Definition: NetConnection_as.cpp:417
void setConnected()
Definition: NetConnection_as.h:89
void connect()
Carry out the connect(null) method.
Definition: NetConnection_as.cpp:470
A native type that requires periodic updates from the core (movie_root).
Definition: Relay.h:79
NetConnection_as(as_object *owner)
Definition: NetConnection_as.cpp:396
Definition: NetConnection_as.h:58
std::auto_ptr< IOChannel > getStream(const std::string &name)
Get an stream by name.
Definition: NetConnection_as.cpp:580
void call(as_object *asCallback, const std::string &methodName, const std::vector< as_value > &args)
Definition: NetConnection_as.cpp:564
virtual ~NetConnection_as()
Definition: NetConnection_as.cpp:404
std::string name
Definition: LocalConnection_as.cpp:151
bool isConnected() const
Definition: NetConnection_as.h:93
void close()
Process the close() method.
Definition: NetConnection_as.cpp:535