com.eurotech.framework.protocol.pcn
Class InOutCountEntry

java.lang.Object
  extended by com.eurotech.framework.protocol.pcn.InOutCountEntry

public class InOutCountEntry
extends Object


Constructor Summary
InOutCountEntry()
          InOutCountEntry constructor
InOutCountEntry(int snpAddress, int inCount, int outCount)
          InOutCountEntry constructor
 
Method Summary
 int getInCount()
          Reports IN count
 int getOutCount()
          Reports OUT count
 int getSnpAddress()
          Reports SNP address
 boolean isZero()
           
static boolean isZero(InOutCountEntry inOutEntry)
           
static boolean isZero(InOutCountEntry[] inOutData)
           
 void setInCount(int inCount)
          Sets IN count
 void setOutCount(int outCount)
          Sets OUT count
 void setSnpAddress(int snpAddress)
          Sets SNP address
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InOutCountEntry

public InOutCountEntry()
InOutCountEntry constructor


InOutCountEntry

public InOutCountEntry(int snpAddress,
                       int inCount,
                       int outCount)
InOutCountEntry constructor

Parameters:
snpAddress - - SNP address as int
inCount - - IN count as int
outCount - - OUT count as int
Method Detail

isZero

public boolean isZero()

isZero

public static boolean isZero(InOutCountEntry inOutEntry)

isZero

public static boolean isZero(InOutCountEntry[] inOutData)

getSnpAddress

public int getSnpAddress()
Reports SNP address

Returns:
SNP address as int

setSnpAddress

public void setSnpAddress(int snpAddress)
Sets SNP address

Parameters:
snpAddress - - SNP address as int

getInCount

public int getInCount()
Reports IN count

Returns:
IN count as int

setInCount

public void setInCount(int inCount)
Sets IN count

Parameters:
inCount - - IN count as int

getOutCount

public int getOutCount()
Reports OUT count

Returns:
OUT count as int

setOutCount

public void setOutCount(int outCount)
Sets OUT count

Parameters:
outCount - - OUT count as int


Copyright © 2013. All Rights Reserved.