| 29 | | public FlowData (long b, long e, long c, long o, int p) { |
| 30 | | begin = b; |
| 31 | | end = e; |
| 32 | | packets = c; |
| 33 | | bytes = o; |
| 34 | | protocol = p; |
| | 31 | /** Create one flow information object |
| | 32 | @param begin timestamp of the first packet in this flow |
| | 33 | @param end timestamp of the last packet associated with this flow |
| | 34 | @param packets number of packets in this flow |
| | 35 | @param bytes number of bytes in this flow |
| | 36 | @param protocol traffic protocol used in this flow. Values conform to netflow specification. |
| | 37 | */ |
| | 38 | public FlowData (long begin, long end, long packets, long bytes, int protocol) { |
| | 39 | this.begin = begin; |
| | 40 | this.end = end; |
| | 41 | this.packets = packets; |
| | 42 | this.bytes = bytes; |
| | 43 | this.protocol = protocol; |