![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <SphynxTransport.hpp>
Inheritance diagram for cat::sphynx::Transport:Definition at line 315 of file SphynxTransport.hpp.
| cat::sphynx::Transport::Transport | ( | ) |
| virtual cat::sphynx::Transport::~Transport | ( | ) | [virtual] |
| void cat::sphynx::Transport::CombineNextWrite | ( | ) | [private] |
| void cat::sphynx::Transport::FlushWrite | ( | ) |
| void cat::sphynx::Transport::InitializePayloadBytes | ( | bool | ip6 | ) |
| CAT_INLINE bool cat::sphynx::Transport::IsDisconnected | ( | ) | [inline, protected] |
Definition at line 425 of file SphynxTransport.hpp.
References _disconnected.
{ return _disconnected; }
| void cat::sphynx::Transport::OnDatagram | ( | ThreadPoolLocalStorage * | tls, |
| u8 * | data, | ||
| u32 | bytes | ||
| ) | [protected] |
| virtual void cat::sphynx::Transport::OnDisconnect | ( | ) | [protected, pure virtual] |
Implemented in cat::sphynx::Client.
| void cat::sphynx::Transport::OnFragment | ( | ThreadPoolLocalStorage * | tls, |
| u8 * | data, | ||
| u32 | bytes, | ||
| u32 | stream | ||
| ) | [private] |
| virtual void cat::sphynx::Transport::OnMessage | ( | ThreadPoolLocalStorage * | tls, |
| BufferStream | msg, | ||
| u32 | bytes | ||
| ) | [protected, pure virtual] |
Implemented in cat::sphynx::Client.
| bool cat::sphynx::Transport::PostDisconnect | ( | ) | [protected] |
| bool cat::sphynx::Transport::PostMTUProbe | ( | ThreadPoolLocalStorage * | tls, |
| u16 | payload_bytes | ||
| ) | [protected] |
| virtual bool cat::sphynx::Transport::PostPacket | ( | u8 * | data, |
| u32 | buf_bytes, | ||
| u32 | msg_bytes, | ||
| u32 | skip_bytes | ||
| ) | [protected, pure virtual] |
Implemented in cat::sphynx::Client, and cat::sphynx::Connexion.
| bool cat::sphynx::Transport::PostTimePing | ( | ) | [protected] |
| void cat::sphynx::Transport::QueueRecv | ( | ThreadPoolLocalStorage * | tls, |
| u8 * | data, | ||
| u32 | bytes, | ||
| u32 | ack_id, | ||
| u32 | stream, | ||
| u32 | super_opcode | ||
| ) | [private] |
| void cat::sphynx::Transport::RunQueue | ( | ThreadPoolLocalStorage * | tls, |
| u32 | ack_id, | ||
| u32 | stream | ||
| ) | [private] |
| void cat::sphynx::Transport::TickTransport | ( | ThreadPoolLocalStorage * | tls, |
| u32 | now | ||
| ) | [protected] |
| void cat::sphynx::Transport::TransmitQueued | ( | ) | [private] |
| CAT_INLINE void cat::sphynx::Transport::TransportDisconnected | ( | ) | [inline, protected] |
Definition at line 424 of file SphynxTransport.hpp.
References _disconnected.
{ _disconnected = true; }
| void cat::sphynx::Transport::WriteACK | ( | ) | [private] |
| bool cat::sphynx::Transport::WriteReliable | ( | StreamMode | , |
| u8 | msg_opcode, | ||
| const void * | msg_data = 0, |
||
| u32 | data_bytes = 0, |
||
| SuperOpcode | super_opcode = SOP_DATA |
||
| ) |
| bool cat::sphynx::Transport::WriteUnreliable | ( | u8 | msg_opcode, |
| const void * | msg_data = 0, |
||
| u32 | data_bytes = 0 |
||
| ) |
bool cat::sphynx::Transport::_disconnected [protected] |
Definition at line 403 of file SphynxTransport.hpp.
Referenced by IsDisconnected(), and TransportDisconnected().
u8* cat::sphynx::Transport::_fragment_buffer[NUM_STREAMS] [protected] |
Definition at line 364 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_fragment_length[NUM_STREAMS] [protected] |
Definition at line 365 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_fragment_offset[NUM_STREAMS] [protected] |
Definition at line 366 of file SphynxTransport.hpp.
volatile bool cat::sphynx::Transport::_got_reliable[NUM_STREAMS] [protected] |
Definition at line 360 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_max_payload_bytes [protected] |
Definition at line 350 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_next_recv_expected_id[NUM_STREAMS] [protected] |
Definition at line 357 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_next_send_id[NUM_STREAMS] [protected] |
Definition at line 383 of file SphynxTransport.hpp.
Mutex cat::sphynx::Transport::_recv_lock [protected] |
Definition at line 361 of file SphynxTransport.hpp.
RecvQueue* cat::sphynx::Transport::_recv_queue_head[NUM_STREAMS] [protected] |
Definition at line 372 of file SphynxTransport.hpp.
RecvQueue * cat::sphynx::Transport::_recv_queue_tail[NUM_STREAMS] [protected] |
Definition at line 372 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_rtt [protected] |
Definition at line 386 of file SphynxTransport.hpp.
u8* cat::sphynx::Transport::_send_buffer [protected] |
Definition at line 392 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_send_buffer_ack_id [protected] |
Definition at line 394 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_send_buffer_bytes [protected] |
Definition at line 393 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_send_buffer_msg_count [protected] |
Definition at line 395 of file SphynxTransport.hpp.
u32 cat::sphynx::Transport::_send_buffer_stream [protected] |
Definition at line 394 of file SphynxTransport.hpp.
Mutex cat::sphynx::Transport::_send_lock [protected] |
Definition at line 380 of file SphynxTransport.hpp.
Definition at line 389 of file SphynxTransport.hpp.
SendQueue* cat::sphynx::Transport::_send_queue_head[NUM_STREAMS] [protected] |
Definition at line 398 of file SphynxTransport.hpp.
SendQueue * cat::sphynx::Transport::_send_queue_tail[NUM_STREAMS] [protected] |
Definition at line 398 of file SphynxTransport.hpp.
SendQueue* cat::sphynx::Transport::_sent_list_head[NUM_STREAMS] [protected] |
Definition at line 401 of file SphynxTransport.hpp.
SendQueue * cat::sphynx::Transport::_sent_list_tail[NUM_STREAMS] [protected] |
Definition at line 401 of file SphynxTransport.hpp.
const u8 cat::sphynx::Transport::BHI_MASK = 7 [static, protected] |
Definition at line 318 of file SphynxTransport.hpp.
const u8 cat::sphynx::Transport::BHI_SINGLE_MESSAGE = 7 [static, protected] |
Definition at line 319 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::FRAG_MAX = 65535 [static, protected] |
Definition at line 369 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::FRAG_MIN = 0 [static, protected] |
Definition at line 368 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::FRAG_THRESHOLD = 32 [static, protected] |
Definition at line 344 of file SphynxTransport.hpp.
const u8 cat::sphynx::Transport::I_MASK = 1 << 3 [static, protected] |
Definition at line 320 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::IPV4_HEADER_BYTES = 20 + IPV4_OPTIONS_BYTES [static, protected] |
Definition at line 340 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::IPV4_OPTIONS_BYTES = 40 [static, protected] |
Definition at line 339 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::IPV6_HEADER_BYTES = 40 + IPV6_OPTIONS_BYTES [static, protected] |
Definition at line 337 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::IPV6_OPTIONS_BYTES = 40 [static, protected] |
Definition at line 336 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::MAX_MESSAGE_DATALEN = 65535-1 [static, protected] |
Definition at line 346 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::MAXIMUM_MTU = 1500 [static, protected] |
Definition at line 334 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::MEDIUM_MTU = 1400 [static, protected] |
Definition at line 333 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::MIN_RTT = 50 [static, protected] |
Definition at line 325 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::MINIMUM_MTU = 576 [static, protected] |
Definition at line 332 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::NUM_STREAMS = 4 [static, protected] |
Definition at line 324 of file SphynxTransport.hpp.
const u8 cat::sphynx::Transport::R_MASK = 1 << 4 [static, protected] |
Definition at line 321 of file SphynxTransport.hpp.
const int cat::sphynx::Transport::SILENCE_LIMIT = 9333 [static, protected] |
Definition at line 328 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::SOP_SHIFT = 5 [static, protected] |
Definition at line 322 of file SphynxTransport.hpp.
const int cat::sphynx::Transport::TICK_RATE = 20 [static, protected] |
Definition at line 330 of file SphynxTransport.hpp.
const int cat::sphynx::Transport::TIMEOUT_DISCONNECT = 15000 [static, protected] |
Definition at line 327 of file SphynxTransport.hpp.
const u32 cat::sphynx::Transport::UDP_HEADER_BYTES = 8 [static, protected] |
Definition at line 342 of file SphynxTransport.hpp.
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.