java > java.net > java.net.multicastsocket >

Class: java.net.MulticastSocket
    java.lang.Object
       java.net.DatagramSocket
               java.net.MulticastSocket


public class MulticastSocket extends DatagramSocket


FIELDS:

CONSTRUCTORS:
public MulticastSocket()

public MulticastSocket(int port)

public MulticastSocket(SocketAddress bindaddr)


METHODS:
public InetAddress getInterface()
Throws: SocketException

public boolean getLoopbackMode()
Throws: SocketException

public NetworkInterface getNetworkInterface()
Throws: SocketException

public byte getTTL()
Throws: IOException

public int getTimeToLive()
Throws: IOException

public void joinGroup(InetAddress mcastaddr)
Throws: IOException
Throws: SecurityException

public void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf)
Throws: IOException
Throws: SecurityException
Throws: IllegalArgumentException

public void leaveGroup(InetAddress mcastaddr)
Throws: IOException
Throws: SecurityException

public void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf)
Throws: IOException
Throws: SecurityException
Throws: IllegalArgumentException

public void send(DatagramPacket p, byte ttl)
Throws: IOException
Throws: SecurityException

public void setInterface(InetAddress inf)
Throws: SocketException

public void setLoopbackMode(boolean disable)
Throws: SocketException

public void setNetworkInterface(NetworkInterface netIf)
Throws: SocketException

public void setTTL(byte ttl)
Throws: IOException

public void setTimeToLive(int ttl)
Throws: IOException


INHERITED METHODS:
bind(java.net.SocketAddress), connect(java.net.InetAddress, int), connect(java.net.SocketAddress), disconnect(), isBound(), isConnected(), getInetAddress(), getPort(), getRemoteSocketAddress(), getLocalSocketAddress(), send(java.net.DatagramPacket), receive(java.net.DatagramPacket), getLocalAddress(), getLocalPort(), setSoTimeout(int), getSoTimeout(), setSendBufferSize(int), getSendBufferSize(), setReceiveBufferSize(int), getReceiveBufferSize(), setReuseAddress(boolean), getReuseAddress(), setBroadcast(boolean), getBroadcast(), setTrafficClass(int), getTrafficClass(), close(), isClosed(), getChannel(), setDatagramSocketImplFactory(java.net.DatagramSocketImplFactory), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net