Class JUnixSocketUnixTransport
java.lang.Object
org.freedesktop.dbus.connections.transports.AbstractTransport
org.freedesktop.dbus.connections.transports.AbstractUnixTransport
org.freedesktop.dbus.transport.junixsocket.JUnixSocketUnixTransport
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionJUnixSocketUnixTransport(JUnixSocketBusAddress _address, TransportConfig _config) -
Method Summary
Modifier and TypeMethodDescriptionprotected SocketChannelprotected voidbindImpl()protected voidprotected SocketChannelintgetUid(SocketChannel _sock) protected booleanprotected booleanisBound()Methods inherited from class AbstractTransport
close, connect, getAddress, getLogger, getMessageFactory, getSaslConfig, getTransportConfig, getTransportConnection, isConnected, isFileDescriptorSupported, isListening, listen, readMessage, setPreConnectCallback, toString, writeMessage
-
Constructor Details
-
JUnixSocketUnixTransport
public JUnixSocketUnixTransport(JUnixSocketBusAddress _address, TransportConfig _config) throws TransportConfigurationException - Throws:
TransportConfigurationException
-
-
Method Details
-
hasFileDescriptorSupport
protected boolean hasFileDescriptorSupport()- Specified by:
hasFileDescriptorSupportin classAbstractTransport
-
connectImpl
- Specified by:
connectImplin classAbstractTransport- Throws:
IOException
-
getUid
- Specified by:
getUidin classAbstractUnixTransport- Throws:
IOException
-
bindImpl
- Specified by:
bindImplin classAbstractTransport- Throws:
IOException
-
acceptImpl
- Specified by:
acceptImplin classAbstractTransport- Throws:
IOException
-
isBound
protected boolean isBound()- Specified by:
isBoundin classAbstractTransport
-
closeTransport
- Specified by:
closeTransportin classAbstractTransport- Throws:
IOException
-