|
Apache Tomcat 6.0.35 | ||||||||
| 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 static Log |
log
|
protected java.net.ServerSocket |
serverSocket
|
| Fields inherited from class org.apache.catalina.tribes.transport.ReceiverBase |
|---|
OPTION_DIRECT_BUFFER |
| 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 |
| Methods inherited from interface org.apache.catalina.tribes.ChannelReceiver |
|---|
getHost, getMessageListener, getPort, getSecurePort, setMessageListener |
| Methods inherited from interface org.apache.catalina.tribes.Heartbeat |
|---|
heartbeat |
| Methods inherited from interface org.apache.catalina.tribes.io.ListenCallback |
|---|
messageDataReceived |
| Field Detail |
|---|
protected static Log log
protected java.net.ServerSocket serverSocket
| Constructor Detail |
|---|
public BioReceiver()
| Method Detail |
|---|
public void start()
throws java.io.IOException
ChannelReceiver
start in interface ChannelReceiverstart in class ReceiverBasejava.io.IOExceptionpublic AbstractRxTask createRxTask()
createRxTask in interface RxTaskPool.TaskCreatorprotected BioReplicationTask getReplicationThread()
public void stop()
ChannelReceiver
stop in interface ChannelReceiverstop in class ReceiverBase
protected void bind()
throws java.io.IOException
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnable
public void listen()
throws java.lang.Exception
java.lang.Exception
|
Apache Tomcat 6.0.35 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||