org.nhindirect.xd.soap
Class ThreadData

java.lang.Object
  extended by org.nhindirect.xd.soap.ThreadData

public class ThreadData
extends Object

ThreadData bean. Contains information about the running threads.

Author:
Vince

Field Summary
static String ACTION
           
static String DIRECT_FROM
           
static String DIRECT_METADATA_LEVEL
           
static String DIRECT_TO
           
static String FROM
           
static String MESSAGE
           
static String PID
           
static String RELATESTO
           
static String REMOTEHOST
           
static String REPLY
           
static String THISHOST
           
static String TO
           
 
Constructor Summary
ThreadData(Long id)
          Constructor.
 
Method Summary
static void clean(Long id)
          Remove an element from the threadMap object specified by the given id.
 String getAction()
          Return the value for the key ACTION.
 String getDirectFrom()
          Return the value for the key DIRECT_FROM.
 String getDirectMetadataLevel()
          Return the value for the key DIRECT_METADATA_LEVEL.
 String getDirectTo()
          Return the value for the key DIRECT_TO.
 String getFrom()
          Return the value for the key FROM.
 String getMessageId()
          Return the value for the key MESSAGE.
 String getPid()
          Return the value for the key PID.
 String getRelatesTo()
          Return the value for the key RELATESTO.
 String getRemoteHost()
          Return the value for the key REMOTEHOST.
 String getReplyAddress()
          Return the value for the key REPLY.
 String getThisHost()
          Return the value for the key THISHOST.
protected static Map<Long,Map<String,String>> getThreadMapView()
          Return a read-only copy of the threadMap object.
 String getTo()
          Return the value for the key TO.
 void setAction(String value)
          Set the value for the key ACTION.
 void setDirectFrom(String value)
          Set the value for the key DIRECT_FROM.
 void setDirectMetadataLevel(String value)
          Set the value for the key DIRECT_METADATA_LEVEL.
 void setDirectTo(String value)
          Set the value for the key DIRECT_TO.
 void setFrom(String value)
          Set the value for the key FROM.
 void setMessageId(String value)
          Set the value for the key MESSAGE.
 void setPid(String value)
          Set the value for the key PID.
 void setRelatesTo(String value)
          Set the value for the key RELATESTO.
 void setRemoteHost(String value)
          Set the value for the key REMOTEHOST.
 void setReplyAddress(String value)
          Set the value for the key REPLY.
 void setThisHost(String value)
          Set the value for the key THISHOST.
 void setTo(String value)
          Set the value for the key TO.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MESSAGE

public static final String MESSAGE
See Also:
Constant Field Values

ACTION

public static final String ACTION
See Also:
Constant Field Values

REPLY

public static final String REPLY
See Also:
Constant Field Values

TO

public static final String TO
See Also:
Constant Field Values

RELATESTO

public static final String RELATESTO
See Also:
Constant Field Values

THISHOST

public static final String THISHOST
See Also:
Constant Field Values

REMOTEHOST

public static final String REMOTEHOST
See Also:
Constant Field Values

PID

public static final String PID
See Also:
Constant Field Values

FROM

public static final String FROM
See Also:
Constant Field Values

DIRECT_TO

public static final String DIRECT_TO
See Also:
Constant Field Values

DIRECT_FROM

public static final String DIRECT_FROM
See Also:
Constant Field Values

DIRECT_METADATA_LEVEL

public static final String DIRECT_METADATA_LEVEL
See Also:
Constant Field Values
Constructor Detail

ThreadData

public ThreadData(Long id)
Constructor.

Parameters:
id - The value to set as the ID for the ThreadData object.
Method Detail

clean

public static void clean(Long id)
Remove an element from the threadMap object specified by the given id.

Parameters:
id - The id of the element to remove from the threadMap object.

setMessageId

public void setMessageId(String value)
Set the value for the key MESSAGE.

Parameters:
value - the value for the key MESSAGE.

setFrom

public void setFrom(String value)
Set the value for the key FROM.

Parameters:
value - the value for the key FROM.

setThisHost

public void setThisHost(String value)
Set the value for the key THISHOST.

Parameters:
value - the value for the key THISHOST.

setRemoteHost

public void setRemoteHost(String value)
Set the value for the key REMOTEHOST.

Parameters:
value - the value for the key REMOTEHOST.

setAction

public void setAction(String value)
Set the value for the key ACTION.

Parameters:
value - the value for the key ACTION.

setPid

public void setPid(String value)
Set the value for the key PID.

Parameters:
value - the value for the key PID.

setReplyAddress

public void setReplyAddress(String value)
Set the value for the key REPLY.

Parameters:
value - the value for the key REPLY.

setTo

public void setTo(String value)
Set the value for the key TO.

Parameters:
value - the value for the key TO.

setRelatesTo

public void setRelatesTo(String value)
Set the value for the key RELATESTO.

Parameters:
value - the value for the key RELATESTO.

setDirectTo

public void setDirectTo(String value)
Set the value for the key DIRECT_TO.

Parameters:
value - the value for the key DIRECT_TO.

setDirectFrom

public void setDirectFrom(String value)
Set the value for the key DIRECT_FROM.

Parameters:
value - the value for the key DIRECT_FROM.

setDirectMetadataLevel

public void setDirectMetadataLevel(String value)
Set the value for the key DIRECT_METADATA_LEVEL.

Parameters:
value - the value for the key DIRECT_METADATA_LEVEL.

getThisHost

public String getThisHost()
Return the value for the key THISHOST.

Returns:
the value for the key THISHOST.

getRemoteHost

public String getRemoteHost()
Return the value for the key REMOTEHOST.

Returns:
the value for the key REMOTEHOST.

getMessageId

public String getMessageId()
Return the value for the key MESSAGE.

Returns:
the value for the key MESSAGE.

getAction

public String getAction()
Return the value for the key ACTION.

Returns:
the value for the key ACTION.

getPid

public String getPid()
Return the value for the key PID.

Returns:
the value for the key PID.

getReplyAddress

public String getReplyAddress()
Return the value for the key REPLY.

Returns:
the value for the key REPLY.

getTo

public String getTo()
Return the value for the key TO.

Returns:
the value for the key TO.

getFrom

public String getFrom()
Return the value for the key FROM.

Returns:
the value for the key FROM.

getRelatesTo

public String getRelatesTo()
Return the value for the key RELATESTO.

Returns:
the value for the key RELATESTO.

getDirectTo

public String getDirectTo()
Return the value for the key DIRECT_TO.

Returns:
the value for the key DIRECT_TO.

getDirectFrom

public String getDirectFrom()
Return the value for the key DIRECT_FROM.

Returns:
the value for the key DIRECT_FROM.

getDirectMetadataLevel

public String getDirectMetadataLevel()
Return the value for the key DIRECT_METADATA_LEVEL.

Returns:
the value for the key DIRECT_METADATA_LEVEL.

getThreadMapView

protected static Map<Long,Map<String,String>> getThreadMapView()
Return a read-only copy of the threadMap object.

Returns:
a read-only copy of the threadmap object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2011. All Rights Reserved.