C++ IP API
9.5.7
TCP & UDP for virtual user scripts
|
Inherits from VirtualUserScript and provides access to factories for the creation of TCP connections and UDP links. More...
Public Methods | |
IpScript (VirtualUser &vu) | |
Standard constructor - do not call directly. More... | |
virtual | ~IpScript () |
IpVirtualUser & | getVU () const |
Return a reference to the IpVirtualUser VU object, a subclass of VirtualUser, that owns this IpScript instance. More... | |
TcpConnectionFactory & | tcp () |
Return a reference to the TcpConnectionFactory factory owned by IpVirtualUser. More... | |
UdpLinkFactory & | udp () |
Return a reference to the UdpLinkFactory factory owned by IpVirtualUser. More... | |
string | zeros (unsigned int count) const |
Helper method that creates strings of null bytes. More... | |
Inherits from VirtualUserScript and provides access to factories for the creation of TCP connections and UDP links.
Facilita::IpScript::IpScript | ( | VirtualUser & | vu | ) |
Standard constructor - do not call directly.
|
virtual |
IpVirtualUser& Facilita::IpScript::getVU | ( | ) | const |
Return a reference to the IpVirtualUser VU object, a subclass of VirtualUser, that owns this IpScript instance.
TcpConnectionFactory& Facilita::IpScript::tcp | ( | ) |
Return a reference to the TcpConnectionFactory factory owned by IpVirtualUser.
UdpLinkFactory& Facilita::IpScript::udp | ( | ) |
Return a reference to the UdpLinkFactory factory owned by IpVirtualUser.
string Facilita::IpScript::zeros | ( | unsigned int | count | ) | const |
Helper method that creates strings of null bytes.
count | The number of null bytes to create. |