public final class TransportFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static AbstractTransport |
createTransport(BusAddress _address)
Creates a new transport encapsulating connection to a unix socket or TCP socket.
|
static AbstractTransport |
createTransport(BusAddress _address,
int _timeout)
Creates a new transport encapsulating connection to a unix socket or TCP socket.
|
static String |
genGUID() |
public static AbstractTransport createTransport(BusAddress _address, int _timeout) throws IOException
_address - Address parameter_timeout - timeout in millisecondsAbstractTransportIOException - when transport could not be createdpublic static AbstractTransport createTransport(BusAddress _address) throws IOException
_address - Address parameterAbstractTransportIOException - when transport could not be createdpublic static String genGUID()
Copyright © 2020. All rights reserved.