|
|||||||||
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
Title:
Description:
Copyright: Copyright (c) 2005
Company:
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()
|
protected BioReplicationThread |
getReplicationThread()
|
WorkerThread |
getWorkerThread()
|
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 ChannelReceiver
java.io.IOException
public WorkerThread getWorkerThread()
getWorkerThread
in interface ThreadPool.ThreadCreator
protected BioReplicationThread getReplicationThread()
public void stop()
ChannelReceiver
stop
in interface ChannelReceiver
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |