org.jdiagnose.remote.comms
Class MulticastSupport
java.lang.Object
org.jdiagnose.remote.comms.MulticastSupport
- Direct Known Subclasses:
- MulticastListener, MulticastSender
- public class MulticastSupport
- extends java.lang.Object
- Author:
- jmccrindle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MulticastSupport
public MulticastSupport()
init
public void init()
throws java.io.IOException
- Throws:
java.io.IOException
destroy
public void destroy()
throws java.net.UnknownHostException,
java.io.IOException
- Throws:
java.net.UnknownHostException
java.io.IOException
setGroup
public void setGroup(java.lang.String group)
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
setMulticastInterface
public void setMulticastInterface(java.lang.String multicastInterface)
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
getGroup
public java.net.InetAddress getGroup()
- Returns:
- Returns the group.
setGroup
public void setGroup(java.net.InetAddress group)
- Parameters:
group
- The group to set.
getLength
public int getLength()
- Returns:
- Returns the length.
setLength
public void setLength(int length)
- Parameters:
length
- The length to set.
getMulticastInterface
public java.net.InetAddress getMulticastInterface()
- Returns:
- Returns the multicastInterface.
setMulticastInterface
public void setMulticastInterface(java.net.InetAddress multicastInterface)
- Parameters:
multicastInterface
- The multicastInterface to set.
getPort
public int getPort()
- Returns:
- Returns the port.
setPort
public void setPort(int port)
- Parameters:
port
- The port to set.
getSoTimeout
public int getSoTimeout()
- Returns:
- Returns the soTimeout.
setSoTimeout
public void setSoTimeout(int soTimeout)
- Parameters:
soTimeout
- The soTimeout to set.
getSocket
public java.net.MulticastSocket getSocket()
- Returns:
- Returns the socket.
Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.