SourceForge Jpcap

net.sourceforge.jpcap.client
Class CommRenderer

java.lang.Object
  extended by net.sourceforge.jpcap.client.CommRenderer

public class CommRenderer
extends Object

A rendering of communication between two hosts.

Version:
$Revision: 1.1 $
Author:
Patrick Charles and Jonas Lehmann
Last modified by:
$Author: esmondpitt $
Last modified at:
$Date: 2008/08/21 02:58:11 $

Constructor Summary
CommRenderer(Canvas canvas, Packet packet, HostRenderer hostA, HostRenderer hostB, String description, int index)
          Create a new communication renderer.
 
Method Summary
 String getDescription()
          Fetch a description (read protocol name) of the communication associated with this renderer.
 void incrementByteCount(long newBytes)
           
 void incrementPacketCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommRenderer

public CommRenderer(Canvas canvas,
                    Packet packet,
                    HostRenderer hostA,
                    HostRenderer hostB,
                    String description,
                    int index)
Create a new communication renderer.

Parameters:
canvas - the canvas where this communication is being drawn.
Method Detail

getDescription

public String getDescription()
Fetch a description (read protocol name) of the communication associated with this renderer.


incrementPacketCount

public void incrementPacketCount()

incrementByteCount

public void incrementByteCount(long newBytes)

Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008.