public interface DataConnectionHandler
DataConnectionHandler
interface defines methods for handling connection state changes.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 (c) 2012, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.