|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.reservoir.monitoring.distribution.udp.UDPTransmitter
public class UDPTransmitter
This is a UDP transmitter for monitoring messages
| Constructor Summary | |
|---|---|
UDPTransmitter(Transmitting transmitting,
java.net.InetSocketAddress dstAddr)
Construct a transmitter for a particular IP address |
|
| Method Summary | |
|---|---|
void |
connect()
Connect to the remote address now |
void |
end()
End the connection to the remote address now |
int |
transmit(java.io.ByteArrayOutputStream byteStream,
int id)
Send a message to UDP address, with a given id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UDPTransmitter(Transmitting transmitting,
java.net.InetSocketAddress dstAddr)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void connect()
throws java.io.IOException
java.io.IOException
public void end()
throws java.io.IOException
java.io.IOException
public int transmit(java.io.ByteArrayOutputStream byteStream,
int id)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||