Package com.ccc.barcode
Class CameraInfo
java.lang.Object
com.ccc.barcode.CameraInfo
Info provided to
CameraServer callbacks. This can be used to
track which camera received each scan.-
Constructor Summary
ConstructorsConstructorDescriptionCameraInfo(CameraConnection connection) This creates aCameraInfodevice based off of aCameraConnection. -
Method Summary
Modifier and TypeMethodDescriptionGet the socket address of the camera.Get the socket address of the camera server: the device using this library to listen for cameras.
-
Constructor Details
-
CameraInfo
This creates aCameraInfodevice based off of aCameraConnection. TheCameraConnectioncontains all the same information—and more than—CameraInfo, but it prevents camera server callbacks from breaking the camera connection.
-
-
Method Details
-
getCameraAddress
Get the socket address of the camera.- Returns:
- The socket address of the camera.
- Throws:
IOException
-
getServerAddress
Get the socket address of the camera server: the device using this library to listen for cameras.- Returns:
- The socket address of the camera server.
- Throws:
IOException
-