class SocketClient


Definition#include <socket.hh>
InheritsSocket [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods


Detailed Description

 SocketClient (const Iptuple& iptuple, EventLoop& e)

SocketClient

 SocketClient (int s, EventLoop& e)

SocketClient

 ~SocketClient ()

~SocketClient

bool  connect ()

connect

void  connected (int s)

connected

void  flush_transmit_queue ()

flush_transmit_queue

void  stop_reader ()

stop_reader

void  disconnect ()

disconnect

bool  disconnecting ()

disconnecting

typedef XorpCallback3<bool,BGPPacket::Status,const uint8_t*,size_t>::RefPtr MessageCallback

MessageCallback

void  set_callback (const MessageCallback& cb)

set_callback

enum Event { DATA = AsyncFileWriter::DATA, FLUSHING = AsyncFileWriter::FLUSHING, ERROR = AsyncFileWriter::ERROR_CHECK_ERRNO }

Event

typedef XorpCallback2<void,Event,const uint8_t*>::RefPtr SendCompleteCallback

SendCompleteCallback

void  send_message_complete (AsyncFileWriter::Event e, const uint8_t* buf, const size_t buf_bytes, const size_t offset, SendCompleteCallback cb)

send_message_complete

bool  send_message (const uint8_t* buf, size_t cnt, SendCompleteCallback cb)

send_message

bool  output_queue_busy ()

output_queue_busy

[const]

int  output_queue_size ()

output_queue_size

[const]

void  async_read_start (size_t cnt = BGP_COMMON_HEADER_LEN,size_t ofset = 0)

async_read_start

void  async_read_message (AsyncFileWriter::Event ev, const uint8_t *buf, const size_t buf_bytes, const size_t offset)

async_read_message

bool  is_connected ()

is_connected

bool  still_reading ()

still_reading


Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:17 2003, using kdoc 2.0a54+XORP.