|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
p2pMapReduce.impl.networkModule.jxta.JxtaBidiPipeConnectionHandler
public class JxtaBidiPipeConnectionHandler
Every time a new connection from a remote node is received a new ConnectionHandler is associated to this connection. ConnectionHandler receive message and state events and forward it to the node module
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static int |
RECEIVE_TIMEOUT
Deprecated. |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Fields inherited from interface net.jxta.util.PipeStateListener |
---|
PIPE_CLOSED_EVENT, PIPE_FAILED_EVENT, PIPE_OPENED_EVENT |
Constructor Summary | |
---|---|
JxtaBidiPipeConnectionHandler(net.jxta.util.JxtaBiDiPipe bidiPipe,
net.jxta.peergroup.PeerGroup peerGroup)
Deprecated. |
Method Summary | |
---|---|
void |
pipeEvent(int event)
Deprecated. |
void |
pipeMsgEvent(net.jxta.pipe.PipeMsgEvent event)
Deprecated. |
void |
run()
Deprecated. |
void |
stateEvent(java.lang.Object source,
int event)
Deprecated. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int RECEIVE_TIMEOUT
Constructor Detail |
---|
public JxtaBidiPipeConnectionHandler(net.jxta.util.JxtaBiDiPipe bidiPipe, net.jxta.peergroup.PeerGroup peerGroup)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void pipeMsgEvent(net.jxta.pipe.PipeMsgEvent event)
pipeMsgEvent
in interface net.jxta.pipe.PipeMsgListener
public void stateEvent(java.lang.Object source, int event)
stateEvent
in interface net.jxta.util.PipeStateListener
public void pipeEvent(int event)
pipeEvent
in interface net.jxta.util.PipeEventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |