Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.encapsulated
Class NetworkTraffic

java.lang.Object
  extended by org.jboss.arquillian.ajocado.encapsulated.NetworkTraffic

public class NetworkTraffic
extends Object

The encapsulation of network traffic proceeded in tested scenario.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
NetworkTraffic(NetworkTrafficType type, String traffic)
          Constructs the representation of network traffic with associated format type.
 
Method Summary
 String getTraffic()
          Returns string representation of network traffic data
 NetworkTrafficType getType()
          Returns the associated output format type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkTraffic

public NetworkTraffic(NetworkTrafficType type,
                      String traffic)
Constructs the representation of network traffic with associated format type.

Parameters:
type - the output format type
traffic - the string representation of network traffic data
Method Detail

getType

public NetworkTrafficType getType()
Returns the associated output format type

Returns:
the associated output format type

getTraffic

public String getTraffic()
Returns string representation of network traffic data

Returns:
string representation of network traffic data

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.