|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.s4.comm.udp.UDPListener
public class UDPListener
Implementation of a simple UDP listener.
Constructor Summary | |
---|---|
UDPListener(Assignment assignment)
|
|
UDPListener(Assignment assignment,
int UDPBufferSize)
|
Method Summary | |
---|---|
void |
close()
|
int |
getPartitionId()
|
byte[] |
recv()
Perform blocking receive on the appropriate communication channel |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public UDPListener(Assignment assignment)
public UDPListener(Assignment assignment, int UDPBufferSize)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
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 |