#ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_
#define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_
#include "net/tools/quic/quic_dispatcher.h"
#include "net/base/ip_endpoint.h"
namespace net {
namespace tools {
class QuicPacketWriterWrapper;
namespace test {
class QuicDispatcherPeer {
public:
static void SetTimeWaitListManager(
QuicDispatcher* dispatcher,
QuicTimeWaitListManager* time_wait_list_manager);
static void UseWriter(QuicDispatcher* dispatcher,
QuicPacketWriterWrapper* writer);
static QuicPacketWriterWrapper* GetWriter(QuicDispatcher* dispatcher);
static QuicEpollConnectionHelper* GetHelper(QuicDispatcher* dispatcher);
static QuicConnection* CreateQuicConnection(
QuicDispatcher* dispatcher,
QuicConnectionId connection_id,
const IPEndPoint& server,
const IPEndPoint& client,
uint32 initial_flow_control_window_bytes);
};
}
}
}
#endif