ZeroSDN Controller  1.0
A modular distributed Software-Defined Network Controller
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros
SwitchAdapterTests Class Reference

#include <SwitchAdapterTests.h>

Inheritance diagram for SwitchAdapterTests:

Public Member Functions

 SwitchAdapterTests ()
 
void testSwitchAdapter ()
 
void setUp ()
 
void tearDown ()
 
void testHandshake (Poco::Net::SocketStream &str, of_version_t OFVersion)
 
void testPacketInOut (Poco::Net::StreamSocket &strSock, Poco::Net::SocketStream &stream)
 
void testSpecialCases (Poco::Net::StreamSocket &strSock, Poco::Net::SocketStream &stream)
 

Constructor & Destructor Documentation

SwitchAdapterTests::SwitchAdapterTests ( )

Member Function Documentation

void SwitchAdapterTests::setUp ( )
void SwitchAdapterTests::tearDown ( )
void SwitchAdapterTests::testHandshake ( Poco::Net::SocketStream &  str,
of_version_t  OFVersion 
)

simulates switch: expecting Hello(version x) from SwitchAdapter(Runner) answering with Hello(version x)

void SwitchAdapterTests::testPacketInOut ( Poco::Net::StreamSocket &  strSock,
Poco::Net::SocketStream &  stream 
)
void SwitchAdapterTests::testSpecialCases ( Poco::Net::StreamSocket &  strSock,
Poco::Net::SocketStream &  stream 
)
void SwitchAdapterTests::testSwitchAdapter ( )

immitates a Switch (the part that happens on initialisation)


The documentation for this class was generated from the following files: