public class NetworkTraffic extends Object
| Constructor and Description |
|---|
NetworkTraffic(NetworkTrafficType type,
String traffic)
Constructs the representation of network traffic with associated format type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTraffic()
Returns string representation of network traffic data
|
NetworkTrafficType |
getType()
Returns the associated output format type
|
public NetworkTraffic(NetworkTrafficType type, String traffic)
type - the output format typetraffic - the string representation of network traffic datapublic NetworkTrafficType getType()
public String getTraffic()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.