| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private String | |
| private DatagramSocket |
| Access | Constructor and Description |
|---|---|
| public | DatagramOutputTarget(final InetAddress
the address endpoint address, final int the address port port, final Formatter the message formatter formatter, final String the encoding to use when encoding string encoding)Create a output target with end point specified by address and port. |
| public | DatagramOutputTarget(final InetAddress
the address endpoint address, final int the address port port, final Formatter the message formatter formatter)Create a output target with end point specified by address and port. |
| public | DatagramOutputTarget(final InetAddress
the address endpoint address, final int the address port port)Create a output target with end point specified by address and port. |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | close()
Overrides org. Implements org. |
| protected void |
| DEFAULT_ENCODING | back to summary |
|---|---|
| private static final String DEFAULT_ENCODING | |
| m_encoding | back to summary |
|---|---|
| private String m_encoding | |
| m_socket | back to summary |
|---|---|
| private DatagramSocket m_socket | |
| DatagramOutputTarget | back to summary |
|---|---|
| public DatagramOutputTarget(final InetAddress address, final int port, final Formatter formatter, final String encoding) throws IOException Create a output target with end point specified by address and port.
| |
| DatagramOutputTarget | back to summary |
|---|---|
| public DatagramOutputTarget(final InetAddress address, final int port, final Formatter formatter) throws IOException Create a output target with end point specified by address and port.
| |
| DatagramOutputTarget | back to summary |
|---|---|
| public DatagramOutputTarget(final InetAddress address, final int port) throws IOException Create a output target with end point specified by address and port.
| |
| close | back to summary |
|---|---|
| public synchronized void close() Overrides org. Implements org. Shutdown target. Attempting to write to target after close() will cause errors to be logged. | |
| write | back to summary |
|---|---|
| protected void write(final String stringData) Overrides org. Method to write output to datagram.
| |