Interface Connector
- All Superinterfaces:
AutoCloseable
Base class for physical interfaces.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Connects to the givenIdentity
.void
Disconnects the active connection interface.void
sendConfigData
(byte[] data) void
sendFileIO
(byte[] data) void
setConfigurationReadListener
(ChannelListener channelListener) void
setExternalVisualDataReadListener
(VisualChannelListener visualDataListener) void
setFileIOReadListener
(ChannelListener channelListener) void
setFrameDataReadListener
(ChannelListener channelListener) void
setOnDisconnected
(ConnectionStatusListener statusListener) void
Start image framesvoid
Stop image frames
-
Method Details
-
connect
Connects to the givenIdentity
. Note: may be called from main/UI thread. -
disconnect
void disconnect()Disconnects the active connection interface. Note: may be called from main/UI thread. -
setOnDisconnected
-
setFrameDataReadListener
-
setConfigurationReadListener
-
setFileIOReadListener
-
sendFileIO
void sendFileIO(byte[] data) -
sendConfigData
void sendConfigData(byte[] data) -
setExternalVisualDataReadListener
-
startFrame
void startFrame()Start image framesNB MUST be called AFTER all initialization data has been sent from a FLIR ONE e.g SLED information serial (NumberBoard / versionBoard etc) AND calibration file, calling it before can cause us to intermittently not receive SLED information and calibration file causing the connection to fail
-
stopFrame
void stopFrame()Stop image frames -
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-