|
Apache Tomcat 7.0.27 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.tribes.transport.ReceiverBase
org.apache.catalina.tribes.transport.bio.BioReceiver
public class BioReceiver
Field Summary | |
---|---|
protected java.net.ServerSocket |
serverSocket
|
Fields inherited from class org.apache.catalina.tribes.transport.ReceiverBase |
---|
OPTION_DIRECT_BUFFER |
Fields inherited from interface org.apache.catalina.tribes.ChannelReceiver |
---|
MAX_UDP_SIZE |
Constructor Summary | |
---|---|
BioReceiver()
|
Method Summary | |
---|---|
protected void |
bind()
|
AbstractRxTask |
createRxTask()
|
protected BioReplicationTask |
getReplicationThread()
|
void |
listen()
|
void |
run()
|
void |
start()
Start listening for incoming messages on the host/port |
void |
stop()
Stop listening for messages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.net.ServerSocket serverSocket
Constructor Detail |
---|
public BioReceiver()
Method Detail |
---|
public void start() throws java.io.IOException
ChannelReceiver
start
in interface ChannelReceiver
start
in class ReceiverBase
java.io.IOException
public AbstractRxTask createRxTask()
createRxTask
in interface RxTaskPool.TaskCreator
protected BioReplicationTask getReplicationThread()
public void stop()
ChannelReceiver
stop
in interface ChannelReceiver
stop
in class ReceiverBase
protected void bind() throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
public void listen() throws java.lang.Exception
java.lang.Exception
|
Apache Tomcat 7.0.27 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |