NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
websocket_endpoint Class Reference

Public Member Functions

 websocket_endpoint ()
 
 ~websocket_endpoint ()
 
int connect (std::string const &uri)
 
void close (int id, websocketpp::close::status::value code, std::string reason)
 
connection_metadata::ptr get_metadata (int id) const
 
 websocket_endpoint ()
 
 ~websocket_endpoint ()
 
int connect (std::string const &uri)
 
void close (int id, websocketpp::close::status::value code, std::string reason)
 
void send (int id, std::string message)
 
connection_metadata::ptr get_metadata (int id) const
 
 websocket_endpoint ()
 
 websocket_endpoint ()
 
int connect (std::string const &uri)
 
connection_metadata::ptr get_metadata (int id) const
 
 websocket_endpoint ()
 
 ~websocket_endpoint ()
 
int connect (std::string const &uri)
 
void close (int id, websocketpp::close::status::value code, std::string reason)
 
connection_metadata::ptr get_metadata (int id) const
 
 websocket_endpoint ()
 
 ~websocket_endpoint ()
 
int connect (std::string const &uri)
 
void close (int id, websocketpp::close::status::value code, std::string reason)
 
void send (int id, std::string message)
 
connection_metadata::ptr get_metadata (int id) const
 

Detailed Description

Definition at line 113 of file scratch_client.cpp.

Constructor & Destructor Documentation

websocket_endpoint::websocket_endpoint ( )
inline
websocket_endpoint::~websocket_endpoint ( )
inline

Definition at line 125 of file scratch_client.cpp.

References websocketpp::close::status::going_away.

websocket_endpoint::websocket_endpoint ( )
inline
websocket_endpoint::~websocket_endpoint ( )
inline

Definition at line 144 of file utility_client.cpp.

References websocketpp::close::status::going_away.

websocket_endpoint::websocket_endpoint ( )
inline
websocket_endpoint::websocket_endpoint ( )
inline
websocket_endpoint::~websocket_endpoint ( )
inline

Definition at line 125 of file step5.cpp.

References websocketpp::close::status::going_away.

websocket_endpoint::websocket_endpoint ( )
inline
websocket_endpoint::~websocket_endpoint ( )
inline

Definition at line 144 of file step6.cpp.

References websocketpp::close::status::going_away.

Member Function Documentation

int websocket_endpoint::connect ( std::string const &  uri)
inline
void websocket_endpoint::close ( int  id,
websocketpp::close::status::value  code,
std::string  reason 
)
inline

Definition at line 185 of file scratch_client.cpp.

Referenced by main().

connection_metadata::ptr websocket_endpoint::get_metadata ( int  id) const
inline

Definition at line 200 of file scratch_client.cpp.

Referenced by main().

int websocket_endpoint::connect ( std::string const &  uri)
inline
void websocket_endpoint::close ( int  id,
websocketpp::close::status::value  code,
std::string  reason 
)
inline

Definition at line 210 of file utility_client.cpp.

void websocket_endpoint::send ( int  id,
std::string  message 
)
inline

Definition at line 225 of file utility_client.cpp.

References websocketpp::frame::opcode::text.

Referenced by main().

connection_metadata::ptr websocket_endpoint::get_metadata ( int  id) const
inline

Definition at line 243 of file utility_client.cpp.

int websocket_endpoint::connect ( std::string const &  uri)
inline

Definition at line 103 of file step4.cpp.

References connection_metadata::on_fail(), and connection_metadata::on_open().

connection_metadata::ptr websocket_endpoint::get_metadata ( int  id) const
inline

Definition at line 135 of file step4.cpp.

int websocket_endpoint::connect ( std::string const &  uri)
inline
void websocket_endpoint::close ( int  id,
websocketpp::close::status::value  code,
std::string  reason 
)
inline

Definition at line 185 of file step5.cpp.

connection_metadata::ptr websocket_endpoint::get_metadata ( int  id) const
inline

Definition at line 200 of file step5.cpp.

int websocket_endpoint::connect ( std::string const &  uri)
inline
void websocket_endpoint::close ( int  id,
websocketpp::close::status::value  code,
std::string  reason 
)
inline

Definition at line 210 of file step6.cpp.

void websocket_endpoint::send ( int  id,
std::string  message 
)
inline

Definition at line 225 of file step6.cpp.

References websocketpp::frame::opcode::text.

connection_metadata::ptr websocket_endpoint::get_metadata ( int  id) const
inline

Definition at line 243 of file step6.cpp.


The documentation for this class was generated from the following files: