public class MulticastSocketFactory extends UdpSocketFactory
logger
Constructor and Description |
---|
MulticastSocketFactory() |
Modifier and Type | Method and Description |
---|---|
protected DatagramSocket |
createSocket() |
protected DatagramSocket |
createSocket(int port) |
protected DatagramSocket |
createSocket(int port,
InetAddress inetAddress) |
void |
destroyObject(Object key,
Object object) |
Object |
makeObject(Object key) |
activateObject, passivateObject, validateObject
public Object makeObject(Object key) throws Exception
makeObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory
makeObject
in class UdpSocketFactory
Exception
public void destroyObject(Object key, Object object) throws Exception
destroyObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory
destroyObject
in class UdpSocketFactory
Exception
protected DatagramSocket createSocket() throws IOException
createSocket
in class UdpSocketFactory
IOException
protected DatagramSocket createSocket(int port) throws IOException
createSocket
in class UdpSocketFactory
IOException
protected DatagramSocket createSocket(int port, InetAddress inetAddress) throws IOException
createSocket
in class UdpSocketFactory
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.