Yazi Ekle
-
java
|
javax
|
org
java
>
java.net
>
java.net.datagramsocketimpl
>
Class: java.net.DatagramSocketImpl
java.lang.Object
java.net.DatagramSocketImpl
public abstract class
DatagramSocketImpl
extends
Object
implements
SocketOptions
FIELDS:
protected
FileDescriptor
fd
protected int
localPort
CONSTRUCTORS:
public
DatagramSocketImpl
()
METHODS:
protected abstract
void
bind
(int lport,
InetAddress
laddr)
Throws:
SocketException
protected abstract
void
close
()
protected
void
connect
(
InetAddress
address, int port)
Throws:
SocketException
protected abstract
void
create
()
Throws:
SocketException
protected
void
disconnect
()
protected
FileDescriptor
getFileDescriptor
()
protected
int
getLocalPort
()
protected abstract
byte
getTTL
()
Throws:
IOException
protected abstract
int
getTimeToLive
()
Throws:
IOException
protected abstract
void
join
(
InetAddress
inetaddr)
Throws:
IOException
protected abstract
void
joinGroup
(
SocketAddress
mcastaddr,
NetworkInterface
netIf)
Throws:
IOException
protected abstract
void
leave
(
InetAddress
inetaddr)
Throws:
IOException
protected abstract
void
leaveGroup
(
SocketAddress
mcastaddr,
NetworkInterface
netIf)
Throws:
IOException
protected abstract
int
peek
(
InetAddress
i)
Throws:
IOException
Throws:
PortUnreachableException
protected abstract
int
peekData
(
DatagramPacket
p)
Throws:
IOException
Throws:
PortUnreachableException
protected abstract
void
receive
(
DatagramPacket
p)
Throws:
IOException
Throws:
PortUnreachableException
protected abstract
void
send
(
DatagramPacket
p)
Throws:
IOException
Throws:
PortUnreachableException
protected abstract
void
setTTL
(byte ttl)
Throws:
IOException
protected abstract
void
setTimeToLive
(int ttl)
Throws:
IOException
INHERITED METHODS:
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