|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.s4.comm.tcp.TCPListener
public class TCPListener
Receives messages through TCP for the assigned subcluster.
Nested Class Summary | |
---|---|
class |
TCPListener.ChannelHandler
|
Constructor Summary | |
---|---|
TCPListener(Assignment assignment,
int timeout)
|
Method Summary | |
---|---|
void |
close()
|
int |
getPartitionId()
|
byte[] |
recv()
Perform blocking receive on the appropriate communication channel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public TCPListener(Assignment assignment, int timeout)
Method Detail |
---|
public byte[] recv()
Listener
recv
in interface Listener
public int getPartitionId()
getPartitionId
in interface Listener
public void close()
close
in interface Listener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |