org.kde.qt
public class QSocketDevice extends QIODevice
| Field Summary | |
|---|---|
| static int | AlreadyBound |
| static int | Bug |
| static int | ConnectionRefused |
| static int | Datagram |
| static int | Impossible |
| static int | Inaccessible |
| static int | InternalError |
| static int | IPv4 |
| static int | IPv6 |
| static int | NetworkFailure |
| static int | NoError |
| static int | NoFiles |
| static int | NoResources |
| static int | Stream |
| static int | Unknown |
| static int | UnknownError |
| Constructor Summary | |
|---|---|
| protected | QSocketDevice(Class dummy) |
| QSocketDevice(int type) | |
| QSocketDevice() | |
| QSocketDevice(int type, int protocol, int dummy) | |
| QSocketDevice(int socket, int type) | |
| Method Summary | |
|---|---|
| int | accept() |
| QHostAddress | address() |
| boolean | addressReusable() |
| long | at() |
| boolean | at(long arg1) |
| boolean | atEnd() |
| boolean | bind(QHostAddress arg1, short arg2) |
| boolean | blocking() |
| long | bytesAvailable() |
| void | close() |
| boolean | connect(QHostAddress arg1, short arg2) |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| int | error() |
| protected void | finalize() Deletes the wrapped C++ instance |
| void | flush() |
| int | getch() |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| boolean | isValid() |
| boolean | listen(int backlog) |
| boolean | open(int mode) |
| QHostAddress | peerAddress() |
| short | peerPort() |
| short | port() |
| int | protocol() |
| int | putch(int arg1) |
| long | readBlock(StringBuffer data, long maxlen) |
| int | receiveBufferSize() |
| int | sendBufferSize() |
| void | setAddressReusable(boolean arg1) |
| void | setBlocking(boolean arg1) |
| protected void | setError(int err) |
| void | setReceiveBufferSize(int arg1) |
| void | setSendBufferSize(int arg1) |
| void | setSocket(int socket, int type) |
| long | size() |
| int | socket() |
| int | type() |
| int | ungetch(int arg1) |
| long | waitForMore(int msecs, boolean[] timeout) |
| long | waitForMore(int msecs) |
| long | writeBlock(String data, long len) |
| long | writeBlock(String data, long len, QHostAddress host, short port) |