|
||||||||||
| 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 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 ServerSocket serverSocket
| Constructor Detail |
|---|
public BioReceiver()
| Method Detail |
|---|
public void start()
throws IOException
ChannelReceiver
start in interface ChannelReceiverstart in class ReceiverBaseIOExceptionpublic AbstractRxTask createRxTask()
createRxTask in interface RxTaskPool.TaskCreatorprotected BioReplicationTask getReplicationThread()
public void stop()
ChannelReceiver
stop in interface ChannelReceiverstop in class ReceiverBase
protected void bind()
throws IOException
IOExceptionpublic void run()
run in interface Runnable
public void listen()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||