Log4j 1.1

pl.psnc.expres.remote.protocol
Class MessageHeader

java.lang.Object
  extended by pl.psnc.expres.remote.protocol.MessageHeader

public class MessageHeader
extends java.lang.Object

MessageHeader class - this is a header in a communication protocol. It contains all the common fields which are exchanged between modules. Please note that some fields can be used depending on the context.

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

Constructor Summary
MessageHeader()
          Creates a new instance of MessageHeader
MessageHeader(java.lang.String jobId, java.lang.String experimentName)
          Creates a new instance of MessageHeader
 
Method Summary
 java.lang.String getCallbackLocation()
          Get value of field: callbackLocation
 java.lang.String getExperimentName()
          Get experiment name - in fact experiment identifier
 java.lang.String getJobId()
          Get Job identifier - used to differentiate data in case where the same experiment data is being correlated at the same time, but with different parameters
 Sender getSenderCode()
          Get value of field: senderCode
 java.lang.String getSenderLocation()
          Get an URL of the message sender
 void setCallbackLocation(java.lang.String callbackLocation)
          Set value of field: callbackLocation
 void setExperimentName(java.lang.String experimentName)
          Set value of field: experimentName
 void setJobId(java.lang.String jobId)
          Set value of field: jobId
 void setSenderCode(Sender senderCode)
          Set value of field: senderCode
 void setSenderLocation(java.lang.String senderLocation)
          Set value of field: senderLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageHeader

public MessageHeader()
Creates a new instance of MessageHeader


MessageHeader

public MessageHeader(java.lang.String jobId,
                     java.lang.String experimentName)
Creates a new instance of MessageHeader

Parameters:
jobId - job identifier
experimentName - experiment name
Method Detail

getCallbackLocation

public java.lang.String getCallbackLocation()
Get value of field: callbackLocation

Returns:
the callbackLocation

getExperimentName

public java.lang.String getExperimentName()
Get experiment name - in fact experiment identifier

Returns:
the experiment name - in fact experiment identifier

getJobId

public java.lang.String getJobId()
Get Job identifier - used to differentiate data in case where the same experiment data is being correlated at the same time, but with different parameters

Returns:
the job identifier

getSenderCode

public Sender getSenderCode()
Get value of field: senderCode

Returns:
the senderCode

getSenderLocation

public java.lang.String getSenderLocation()
Get an URL of the message sender

Returns:
the URL of the message sender

setCallbackLocation

public void setCallbackLocation(java.lang.String callbackLocation)
Set value of field: callbackLocation

Parameters:
callbackLocation - the callbackLocation to set

setExperimentName

public void setExperimentName(java.lang.String experimentName)
Set value of field: experimentName

Parameters:
experimentName - the experimentName to set

setJobId

public void setJobId(java.lang.String jobId)
Set value of field: jobId

Parameters:
jobId - the jobId to set

setSenderCode

public void setSenderCode(Sender senderCode)
Set value of field: senderCode

Parameters:
senderCode - the senderCode to set

setSenderLocation

public void setSenderLocation(java.lang.String senderLocation)
Set value of field: senderLocation

Parameters:
senderLocation - the senderLocation to set

Log4j 1.1

Copyright 2007-2008 by VLAB