public class Transport extends Object implements Closeable
| Constructor and Description |
|---|
Transport() |
Transport(BusAddress address) |
Transport(BusAddress address,
int timeout) |
Transport(String address) |
Transport(String address,
int timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
disconnect() |
static String |
genGUID() |
boolean |
isConnected() |
Message |
readMessage() |
void |
writeMessage(Message message) |
public Transport()
public Transport(BusAddress address) throws IOException
IOExceptionpublic Transport(String address) throws IOException, DBusException
IOExceptionDBusExceptionpublic Transport(String address, int timeout) throws IOException, DBusException
IOExceptionDBusExceptionpublic Transport(BusAddress address, int timeout) throws IOException, DBusException
IOExceptionDBusExceptionpublic static String genGUID()
public void writeMessage(Message message) throws IOException
IOExceptionpublic Message readMessage() throws IOException, DBusException
IOExceptionDBusExceptionpublic void disconnect()
throws IOException
IOExceptionpublic boolean isConnected()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020. All rights reserved.