|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.server.nio.ChannelWrapper<S>
S - the type of wrapped channel.public class ChannelWrapper<S>
Wraps a communication channel, no matter what the channel is.
| Constructor Summary | |
|---|---|
ChannelWrapper(S channel)
Initialize this channel wrapper with the specified channel. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Determine whether an other object is equal to this one. |
S |
getChannel()
Get the channel to wrap. |
int |
hashCode()
Get the hashcode for this object. |
String |
toString()
Generate a string that represents this channel wrapper. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelWrapper(S channel)
channel - the channel to wrap.| Method Detail |
|---|
public S getChannel()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class Objectobj - the object to compare with.
Object.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||