org.kde.qt
public class QSocket extends QObject implements QIODeviceInterface
| Field Summary | |
|---|---|
| static int | Closing |
| static int | Connected |
| static int | Connecting |
| static int | Connection |
| static int | ErrConnectionRefused |
| static int | ErrHostNotFound |
| static int | ErrSocketRead |
| static int | HostLookup |
| static int | Idle |
| Constructor Summary | |
|---|---|
| protected | QSocket(Class dummy) |
| QSocket(QObject parent, String name) | |
| QSocket(QObject parent) | |
| QSocket() | |
| Method Summary | |
|---|---|
| QHostAddress | address() |
| long | at() |
| boolean | at(long arg1) |
| boolean | atEnd() |
| long | bytesAvailable() |
| long | bytesToWrite() |
| boolean | canReadLine() |
| String | className() |
| void | clearPendingData() |
| void | close() |
| void | connectToHost(String host, short port) |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | finalize() Deletes the wrapped C++ instance |
| int | flags() |
| void | flush() |
| int | getch() |
| boolean | isAsynchronous() |
| boolean | isBuffered() |
| boolean | isCombinedAccess() |
| boolean | isDirectAccess() |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| boolean | isInactive() |
| boolean | isOpen() |
| boolean | isRaw() |
| boolean | isReadable() |
| boolean | isReadWrite() |
| boolean | isSequentialAccess() |
| boolean | isSynchronous() |
| boolean | isTranslated() |
| boolean | isWritable() |
| QMetaObject | metaObject() |
| int | mode() |
| boolean | open(int mode) |
| QHostAddress | peerAddress() |
| String | peerName() |
| short | peerPort() |
| short | port() |
| int | putch(int arg1) |
| byte[] | readAll() |
| long | readBlock(StringBuffer data, long maxlen) |
| long | readBufferSize() |
| long | readLine(String data, long maxlen) |
| String | readLine() |
| boolean | reset() |
| void | resetStatus() |
| protected void | setFlags(int f) |
| protected void | setMode(int arg1) |
| void | setReadBufferSize(long arg1) |
| void | setSocket(int arg1) |
| void | setSocketDevice(QSocketDevice arg1) |
| void | setState(int arg1) |
| void | setStatus(int arg1) |
| protected void | setType(int arg1) |
| long | size() |
| protected void | sn_read(boolean force) |
| protected void | sn_read() |
| protected void | sn_write() |
| int | socket() |
| QSocketDevice | socketDevice() |
| int | state() |
| int | status() |
| static String | tr(String arg1, String arg2) |
| static String | tr(String arg1) |
| int | ungetch(int arg1) |
| long | waitForMore(int msecs, boolean[] timeout) |
| long | waitForMore(int msecs) |
| long | writeBlock(String data, long len) |
| long | writeBlock(byte[] data) |