org.jppf.server.job
Class ChannelBundlePair

java.lang.Object
  extended by org.jppf.utils.Pair<ChannelWrapper<?>,BundleWrapper>
      extended by org.jppf.server.job.ChannelBundlePair
All Implemented Interfaces:
Serializable

public class ChannelBundlePair
extends Pair<ChannelWrapper<?>,BundleWrapper>

Instances of this class associate a node channel with a job that is being executed on the corresponding node.

Author:
Laurent Cohen
See Also:
Serialized Form

Constructor Summary
ChannelBundlePair(ChannelWrapper<?> first, BundleWrapper second)
          Initialize this object with the specified parameters.
 
Method Summary
 boolean equals(Object obj)
          Indicates whether some other object is "equal to" this one.
 
Methods inherited from class org.jppf.utils.Pair
first, hashCode, second
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelBundlePair

public ChannelBundlePair(ChannelWrapper<?> first,
                         BundleWrapper second)
Initialize this object with the specified parameters.

Parameters:
first - - the first object of this pair.
second - - the second object of this pair.
Method Detail

equals

public boolean equals(Object obj)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class Pair<ChannelWrapper<?>,BundleWrapper>
Parameters:
obj - - the reference object with which to compare.
Returns:
true if this object is the same as the obj.
See Also:
Object.equals(java.lang.Object)


Copyright © 2005-2010 JPPF Team.