|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.indy.BaseComponent | +--org.indy.IndyComponent | +--org.indy.udp.IdUDPBase
NB, Broadcast is ALWAYS enabled in Java UDP sockets, so there's no point including the property that appears in the Delphi version.
Inner classes inherited from class org.indy.IndyComponent |
IndyComponent.WorkMode |
Field Summary | |
static int |
UDP_BUFFERSIZE
DOCUMENT ME! |
Constructor Summary | |
IdUDPBase()
Creates a new IdUDPBase object. |
Method Summary | |
boolean |
getActive()
DOCUMENT ME! |
java.lang.String |
getHost()
DOCUMENT ME! |
int |
getPort()
DOCUMENT ME! |
int |
getReceiveTimeout()
DOCUMENT ME! |
int |
receiveBuffer(byte[] b)
DOCUMENT ME! |
int |
receiveBuffer(byte[] b,
int timeout)
DOCUMENT ME! |
int |
receiveBuffer(byte[] b,
int off,
int len)
DOCUMENT ME! |
protected int |
receiveBuffer(byte[] b,
int off,
int len,
java.net.InetAddress peer,
int peerPort,
int timeout)
DOCUMENT ME! |
int |
receiveBuffer(byte[] b,
int off,
int len,
int timeout)
DOCUMENT ME! |
int |
receiveBuffer(byte[] b,
int off,
int len,
java.lang.String peerIP,
int peerPort)
DOCUMENT ME! |
int |
receiveBuffer(byte[] b,
int off,
int len,
java.lang.String peerIP,
int peerPort,
int timeout)
DOCUMENT ME! |
int |
receiveBuffer(byte[] b,
java.lang.String peerIP,
int peerPort)
DOCUMENT ME! |
int |
receiveBuffer(byte[] b,
java.lang.String peerIP,
int peerPort,
int timeout)
DOCUMENT ME! |
void |
setActive(boolean value)
DOCUMENT ME! |
void |
setHost(java.lang.String newHost)
DOCUMENT ME! |
void |
setPort(int port)
DOCUMENT ME! |
void |
setReceiveTimeout(int receiveTimeout)
DOCUMENT ME! |
Methods inherited from class org.indy.IndyComponent |
addComponentListener, doBeginWork, doBeginWork, doEndWork, doStatus, doStatus, doWork, getLocalName, removeComponentListener |
Methods inherited from class org.indy.BaseComponent |
getVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int UDP_BUFFERSIZE
Constructor Detail |
public IdUDPBase()
Method Detail |
public boolean getActive()
public void setActive(boolean value) throws IndyIOException
value
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!protected final int receiveBuffer(byte[] b, int off, int len, java.net.InetAddress peer, int peerPort, int timeout) throws IndyIOException
b
- DOCUMENT ME!off
- DOCUMENT ME!len
- DOCUMENT ME!peer
- DOCUMENT ME!peerPort
- DOCUMENT ME!timeout
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!public int receiveBuffer(byte[] b, int off, int len, java.lang.String peerIP, int peerPort, int timeout) throws IndyIOException, IndyUnknownHostException
b
- DOCUMENT ME!off
- DOCUMENT ME!len
- DOCUMENT ME!peerIP
- DOCUMENT ME!peerPort
- DOCUMENT ME!timeout
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!IndyUnknownHostException
- DOCUMENT ME!public int receiveBuffer(byte[] b, java.lang.String peerIP, int peerPort, int timeout) throws IndyIOException, IndyUnknownHostException
b
- DOCUMENT ME!peerIP
- DOCUMENT ME!peerPort
- DOCUMENT ME!timeout
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!IndyUnknownHostException
- DOCUMENT ME!public int receiveBuffer(byte[] b, int off, int len, java.lang.String peerIP, int peerPort) throws IndyIOException, IndyUnknownHostException
b
- DOCUMENT ME!off
- DOCUMENT ME!len
- DOCUMENT ME!peerIP
- DOCUMENT ME!peerPort
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!IndyUnknownHostException
- DOCUMENT ME!public int receiveBuffer(byte[] b, java.lang.String peerIP, int peerPort) throws IndyIOException, IndyUnknownHostException
b
- DOCUMENT ME!peerIP
- DOCUMENT ME!peerPort
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!IndyUnknownHostException
- DOCUMENT ME!public int receiveBuffer(byte[] b, int off, int len, int timeout) throws IndyIOException
b
- DOCUMENT ME!off
- DOCUMENT ME!len
- DOCUMENT ME!timeout
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!java.lang.IllegalStateException
- DOCUMENT ME!public int receiveBuffer(byte[] b, int timeout) throws IndyIOException
b
- DOCUMENT ME!timeout
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!public int receiveBuffer(byte[] b, int off, int len) throws IndyIOException
b
- DOCUMENT ME!off
- DOCUMENT ME!len
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!java.lang.IllegalStateException
- DOCUMENT ME!public int receiveBuffer(byte[] b) throws IndyIOException
b
- DOCUMENT ME!IndyIOException
- DOCUMENT ME!public void setReceiveTimeout(int receiveTimeout)
receiveTimeout
- DOCUMENT ME!public int getReceiveTimeout()
public java.lang.String getHost()
public void setHost(java.lang.String newHost) throws IndyUnknownHostException
newHost
- DOCUMENT ME!IndyUnknownHostException
- DOCUMENT ME!public int getPort()
public void setPort(int port)
port
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |