Log4j 1.1

pl.psnc.expres.remote.protocol.notification
Class Notification

java.lang.Object
  extended by pl.psnc.expres.remote.protocol.notification.Notification

public class Notification
extends java.lang.Object

Notification class - notification value object. This class is used to update listeners about current status indicated by State

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Constructor Summary
Notification()
           
 
Method Summary
 ChunkInfo getChunkInfo()
          Get value of field: chunkInfo
 MessageHeader getHeader()
          Get value of field: header
 java.lang.String getMessage()
          Get value of field: message
 NetworkMetric getNetworkMetric()
          Get value of field: networkMetric
 State getState()
          Get value of field: state
 void setChunkInfo(ChunkInfo chunkInfo)
          Set value of field: chunkInfo
 void setHeader(MessageHeader header)
          Set value of field: header
 void setMessage(java.lang.String message)
          Set value of field: message
 void setNetworkMetric(NetworkMetric networkMetric)
          Set value of field: networkMetric
 void setState(State state)
          Set value of field: state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notification

public Notification()
Method Detail

getChunkInfo

public ChunkInfo getChunkInfo()
Get value of field: chunkInfo

Returns:
the chunkInfo

getHeader

public MessageHeader getHeader()
Get value of field: header

Returns:
the header

getMessage

public java.lang.String getMessage()
Get value of field: message

Returns:
the message

getNetworkMetric

public NetworkMetric getNetworkMetric()
Get value of field: networkMetric

Returns:
the networkMetric

getState

public State getState()
Get value of field: state

Returns:
the state

setChunkInfo

public void setChunkInfo(ChunkInfo chunkInfo)
Set value of field: chunkInfo

Parameters:
chunkInfo - the chunkInfo to set

setHeader

public void setHeader(MessageHeader header)
Set value of field: header

Parameters:
header - the header to set

setMessage

public void setMessage(java.lang.String message)
Set value of field: message

Parameters:
message - the message to set

setNetworkMetric

public void setNetworkMetric(NetworkMetric networkMetric)
Set value of field: networkMetric

Parameters:
networkMetric - the networkMetric to set

setState

public void setState(State state)
Set value of field: state

Parameters:
state - the state to set

Log4j 1.1

Copyright 2007-2008 by VLAB