p2pMapReduce.impl.networkModule.jxta
Class JxtaBidiPipeConnectionHandler

java.lang.Object
  extended by java.lang.Thread
      extended by p2pMapReduce.impl.networkModule.jxta.JxtaBidiPipeConnectionHandler
All Implemented Interfaces:
java.lang.Runnable, java.util.EventListener, net.jxta.pipe.PipeMsgListener, net.jxta.util.PipeEventListener, net.jxta.util.PipeStateListener

Deprecated. not used

public class JxtaBidiPipeConnectionHandler
extends java.lang.Thread
implements net.jxta.pipe.PipeMsgListener, net.jxta.util.PipeStateListener, net.jxta.util.PipeEventListener

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

RECEIVE_TIMEOUT

public static final int RECEIVE_TIMEOUT
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

JxtaBidiPipeConnectionHandler

public JxtaBidiPipeConnectionHandler(net.jxta.util.JxtaBiDiPipe bidiPipe,
                                     net.jxta.peergroup.PeerGroup peerGroup)
Deprecated. 
Method Detail

run

public void run()
Deprecated. 
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

pipeMsgEvent

public void pipeMsgEvent(net.jxta.pipe.PipeMsgEvent event)
Deprecated. 
Specified by:
pipeMsgEvent in interface net.jxta.pipe.PipeMsgListener

stateEvent

public void stateEvent(java.lang.Object source,
                       int event)
Deprecated. 
Specified by:
stateEvent in interface net.jxta.util.PipeStateListener

pipeEvent

public void pipeEvent(int event)
Deprecated. 
Specified by:
pipeEvent in interface net.jxta.util.PipeEventListener