Modul org.freedesktop.dbus
Package org.freedesktop.dbus.connections
Schnittstelle IDisconnectCallback
public interface IDisconnectCallback
Callback interface which can be used to get notified about connection losses.
- Version:
- 4.1.0 - 2022-02-03
- Autor:
- hypfvieh
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault void
Called when a client disconnected (only if this is a server/listening connection).default void
Called when the connection is closed due to a connection error (e.g. stream closed).default void
Called when the transport throws an exception while connection was already terminating.default void
requestedDisconnect
(Integer _connectionId) Called when the disconnect was intended.
-
Methodendetails
-
disconnectOnError
Called when the connection is closed due to a connection error (e.g. stream closed).- Parameter:
_ex
- exception which was thrown by transport
-
requestedDisconnect
Called when the disconnect was intended.- Parameter:
_connectionId
- connection Id if this was a shared connection, null if last shared or non-shared connection
-
clientDisconnect
default void clientDisconnect()Called when a client disconnected (only if this is a server/listening connection). -
exceptionOnTerminate
Called when the transport throws an exception while connection was already terminating.- Parameter:
_ex
- exception which was thrown by transport
-