Public Methods
~AcceptSession ()
| ~AcceptSession |
Start the FSM.
void no_open_received ()
| no_open_received |
Timeout routine that is called if no messages are seen from the
peer. Ideally an open message should be seen from the peer.
This FSM has done its job signal to the peer to remove this
class. This should be the last method to be called in any methods.
Send a notification.
Notification callback.
Send a cease.
void collision ()
| collision |
The main FSM is in state OPENCONFIRM so both IDs are available
to resolve the collision.
void event_openmess_accept (const OpenPacket& p)
| event_openmess_accept |
An open message has just been received on the accept socket
decide and keep the winner.
void swap_sockets ()
| swap_sockets |
Swap the socket in this class with the one in the main FSM.
void swap_sockets (const OpenPacket& p)
| swap_sockets |
Replace this socket with the one in the main FSM and feed in
an open packet.
void notify_peer_of_error_accept (const int error,
const int subcode = UNSPECIFIED,
const uint8_t*data = 0,
const size_t len = 0)
| notify_peer_of_error_accept |
void event_tranfatal_accept ()
| event_tranfatal_accept |
void event_closed_accept ()
| event_closed_accept |
Called if the TCP connection is closed.
void event_keepmess_accept ()
| event_keepmess_accept |
Called if a keepalive message is seen.
void event_recvupdate_accept (const UpdatePacket& p)
| event_recvupdate_accept |
Called if a update message is seen.
Called if a notify message is seen.
Handle incoming messages.
bool is_connected ()
| is_connected |
bool still_reading ()
| still_reading |
void ignore_message ()
| ignore_message |
bool accept_message ()
| accept_message |
[const]
Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:34 2006, using kdoc $.