メインページ | ネームスペース一覧 | クラス階層 | アルファベット順一覧 | 構成 | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ

クラス connection::ServerConnection

#include <server-connection.hh>

connection::ServerConnectionに対する継承グラフ

Inheritance graph
[凡例]
connection::ServerConnectionのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

Public メソッド

 ServerConnection (const std::string &host, u_short port)
void print (std::ostream &os) const
void fill_packet (packets::IncomingPacket *ip)
void push_packet (packets::OutgoingPacket *op)
int get_op ()
int data_available ()
void start_connection ()
ServerConnectionoperator<< (packets::OutgoingPacket *op)

Static Public メソッド

static ServerConnectionget_instance ()

Protected メソッド

void fill_packet_now ()
virtual void event_connect ()
virtual void event_close ()
virtual void can_read ()
virtual void open ()
virtual int data_available () const
virtual bool can_send () const
virtual void send (const std::string &str)
virtual void receive (std::string &str, int size)
virtual const std::string & get_send_buf () const
virtual const std::string & get_receive_buf () const
void send_now ()
void def_can_write ()
void def_can_read ()
virtual void can_write ()
virtual void process_event (int code, int err)
virtual void close ()
virtual bool is_connected ()
void print (std::ostream &os)
virtual void can_accept ()

Static Protected メソッド

static void set_instance (HINSTANCE instance)

Protected 変数

packets::IncomingPacket_current_packet
std::string _host
u_short _port
std::string _send_buf
std::string _receive_buf
bool _can_send
int _buffer_size
HWND _wnd
SOCKET _socket

コンストラクタとデストラクタ

connection::ServerConnection::ServerConnection const std::string &  host,
u_short  port
 


関数

void rxsocket::RxSocket::can_accept  )  [protected, virtual, inherited]
 

void connection::ServerConnection::can_read  )  [protected, virtual]
 

rxsocket::RxTCPClientを再定義しています。

関数の呼び出しグラフ:

bool rxsocket::RxTCPClient::can_send  )  const [virtual, inherited]
 

void rxsocket::RxTCPClient::can_write  )  [protected, virtual, inherited]
 

rxsocket::RxSocketを実装しています.

関数の呼び出しグラフ:

void rxsocket::RxSocket::close  )  [virtual, inherited]
 

int rxsocket::RxTCPClient::data_available  )  const [virtual, inherited]
 

int connection::ServerConnection::data_available  )  [virtual]
 

rxsocket::RxSocketを実装しています.

void rxsocket::RxTCPClient::def_can_read  )  [protected, inherited]
 

void rxsocket::RxTCPClient::def_can_write  )  [protected, inherited]
 

関数の呼び出しグラフ:

void connection::ServerConnection::event_close  )  [protected, virtual]
 

rxsocket::RxSocketを再定義しています。

関数の呼び出しグラフ:

void connection::ServerConnection::event_connect  )  [protected, virtual]
 

rxsocket::RxSocketを再定義しています。

関数の呼び出しグラフ:

void connection::ServerConnection::fill_packet packets::IncomingPacket ip  ) 
 

関数の呼び出しグラフ:

void connection::ServerConnection::fill_packet_now  )  [protected]
 

関数の呼び出しグラフ:

ServerConnection & connection::ServerConnection::get_instance  )  [static]
 

int connection::ServerConnection::get_op  ) 
 

関数の呼び出しグラフ:

const std::string & rxsocket::RxTCPClient::get_receive_buf  )  const [virtual, inherited]
 

const std::string & rxsocket::RxTCPClient::get_send_buf  )  const [virtual, inherited]
 

bool rxsocket::RxSocket::is_connected  )  [virtual, inherited]
 

void rxsocket::RxTCPClient::open  )  [virtual, inherited]
 

rxsocket::RxSocketを実装しています.

ServerConnection & connection::ServerConnection::operator<< packets::OutgoingPacket op  ) 
 

関数の呼び出しグラフ:

void rxsocket::RxSocket::print std::ostream &  os  )  [inherited]
 

void connection::ServerConnection::print std::ostream &  os  )  const
 

void rxsocket::RxSocket::process_event int  code,
int  err
[virtual, inherited]
 

関数の呼び出しグラフ:

void connection::ServerConnection::push_packet packets::OutgoingPacket op  ) 
 

関数の呼び出しグラフ:

void rxsocket::RxTCPClient::receive std::string &  str,
int  size
[virtual, inherited]
 

void rxsocket::RxTCPClient::send const std::string &  str  )  [virtual, inherited]
 

関数の呼び出しグラフ:

void rxsocket::RxTCPClient::send_now  )  [protected, inherited]
 

関数の呼び出しグラフ:

void rxsocket::RxSocket::set_instance HINSTANCE  instance  )  [static, inherited]
 

void connection::ServerConnection::start_connection  ) 
 

関数の呼び出しグラフ:


変数

int rxsocket::RxTCPClient::_buffer_size [protected, inherited]
 

bool rxsocket::RxTCPClient::_can_send [protected, inherited]
 

packets::IncomingPacket* connection::ServerConnection::_current_packet [protected]
 

std::string rxsocket::RxTCPClient::_host [protected, inherited]
 

u_short rxsocket::RxTCPClient::_port [protected, inherited]
 

std::string rxsocket::RxTCPClient::_receive_buf [protected, inherited]
 

std::string rxsocket::RxTCPClient::_send_buf [protected, inherited]
 

SOCKET rxsocket::RxSocket::_socket [protected, inherited]
 

HWND rxsocket::RxSocket::_wnd [protected, inherited]
 


このクラスの説明は次のファイルから生成されました:
Cronous Emulatorに対してWed Aug 17 06:14:23 2005に生成されました。  doxygen 1.4.2-20050421