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();