public interface DataConnectionHandler
DataConnectionHandler
interface defines methods for handling connection state
changes.
A DataConnectionHandler
should not throw any unchecked exception. A compliant
implementation of this specification MUST catch unchecked exceptions that may be thrown by a
DataConnectionHandler
.Modifier and Type | Method and Description |
---|---|
void |
handleClosedDataConnection(ATDevice atDevice,
DataConnection connection)
Invoked to handle a data connection when been closed.
|
void |
handleOpenedDataConnection(ATDevice atDevice,
DataConnection connection)
Invoked to handle a data connection when first opened.
|
void handleClosedDataConnection(ATDevice atDevice, DataConnection connection)
atDevice
- the ATDevice
instance that has closed the connection.connection
- the data connection.void handleOpenedDataConnection(ATDevice atDevice, DataConnection connection)
atDevice
- the ATDevice
instance that has opened the connection.connection
- the data connection.Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.
Legal Notices