public abstract class AbstractUdpConnection extends AbstractSocketConnection
| Modifier and Type | Field and Description |
|---|---|
protected ObjectSerializer |
objectSerializer |
protected DatagramSocket |
socket |
protected UdpSocketProperties |
socketProperties |
connectionSettings, LOGGER, wasDisconnected| Constructor and Description |
|---|
AbstractUdpConnection(SocketConnectionSettings connectionSettings,
UdpSocketProperties socketProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDisconnect()
Template method that does the concrete disconnection for the socket
|
protected DatagramSocket |
newSocket(SocketConnectionSettings connectionSettings) |
org.mule.runtime.api.connection.ConnectionValidationResult |
validate()
Validates socket's connection
|
disconnectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectprotected final UdpSocketProperties socketProperties
protected DatagramSocket socket
@Inject protected ObjectSerializer objectSerializer
public AbstractUdpConnection(SocketConnectionSettings connectionSettings, UdpSocketProperties socketProperties) throws org.mule.runtime.api.connection.ConnectionException
org.mule.runtime.api.connection.ConnectionExceptionprotected void doDisconnect()
AbstractSocketConnectiondoDisconnect in class AbstractSocketConnectionpublic org.mule.runtime.api.connection.ConnectionValidationResult validate()
SocketConnectionprotected DatagramSocket newSocket(SocketConnectionSettings connectionSettings) throws org.mule.runtime.api.connection.ConnectionException
org.mule.runtime.api.connection.ConnectionExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.