Uses of Interface
com.zebra.sdk.comm.Connection
Packages that use Connection
Package
Description
Provides implementation for communication protocols.
Provides implementation for Zebra branded printer functionality.
Provides implementation for finding Zebra branded printers.
Provides implementation for communicating to Link-OS printers over Web Sockets.
Provides implementation for applying and retrieving settings from a device.
Provides implementation for Weblink configuration.
-
Uses of Connection in com.zebra.sdk.comm
Subinterfaces of Connection in com.zebra.sdk.commModifier and TypeInterfaceDescriptioninterfaceA connection to a device that copies data sent to the connection to the provided stream.interfaceA status connection to a Link-OS printer.interfaceA status connection to a Link-OS printer.Classes in com.zebra.sdk.comm that implement ConnectionModifier and TypeClassDescriptionclassAbstract class which implements the default functionality ofConnection.classAbstract class which implements the default functionality ofStatusConnection.classEstablishes a USB connection to a printer.classBase class for Link-OS printers which support separate printing and status channels.classEstablishes a Multichannel TCP connection to a deviceclassEstablishes a Multichannel TLS connection to a deviceclassEstablishes a TCP connection to a device
classEstablishes a status only TCP connection to a device
classEstablishes a TLS connection to a device
classEstablishes a status only TLS connection to a device
classEstablishes a direct connection to an attached Zebra USB printer without requiring the presence of a USB driverMethods in com.zebra.sdk.comm that return ConnectionModifier and TypeMethodDescriptionstatic ConnectionCreates a Connection type based on the contents ofdescriptionString.MultichannelConnection.getPrintingChannel()Returns the underlying printingConnectionof this MultichannelConnection.Method parameters in com.zebra.sdk.comm with type arguments of type ConnectionModifier and TypeMethodDescriptionstatic voidConnectionBuilder.addConnectionType(Class<? extends Connection> c) Add a connection type to the ConnectionBuilder -
Uses of Connection in com.zebra.sdk.printer
Methods in com.zebra.sdk.printer that return ConnectionMethods in com.zebra.sdk.printer with parameters of type ConnectionModifier and TypeMethodDescriptionstatic voidSGD.DO(OutputStream responseData, String setting, String value, Connection printerConnection) Constructs an SGD DO command and sends it to the printer.static voidSGD.DO(OutputStream responseData, String setting, String value, Connection printerConnection, int maxTimeoutForRead, int timeToWaitForMoreData) Constructs an SGD DO command and sends it to the printer.static StringSGD.DO(String setting, String value, Connection printerConnection) Constructs an SGD DO command and sends it to the printer.static StringSGD.DO(String setting, String value, Connection printerConnection, int maxTimeoutForRead, int timeToWaitForMoreData) Constructs an SGD DO command and sends it to the printer.static StringSGD.GET(String setting, Connection printerConnection) Constructs an SGD GET command and sends it to the printer.static StringSGD.GET(String setting, Connection printerConnection, int maxTimeoutForRead, int timeToWaitForMoreData) Constructs an SGD GET command and sends it to the printer.static PrinterStatusPrinterUtil.getCurrentStatus(Connection printerConnection, PrinterLanguage language) Returns a new instance ofPrinterStatusthat can be used to determine the status of a printer.static ZebraPrinterZebraPrinterFactory.getInstance(Connection connection) Factory method to create the correctZebraPrinterconcrete class based on the printer's control language.static ZebraPrinterZebraPrinterFactory.getInstance(PrinterLanguage language, Connection connection) Factory method to create the correctZebraPrinterconcrete class based on the provided printer control language.static ZebraPrinterZebraPrinterFactory.getInstance(String[] cpclFwVersionPrefixes, Connection connection) Factory method to create the correctZebraPrinterconcrete class based on the printer's control language.static ZebraPrinterLinkOsZebraPrinterFactory.getLinkOsPrinter(Connection connection) Create Link-OS Zebra printer from a connection that provides access to Link-OS features.static ZebraPrinterLinkOsZebraPrinterFactory.getLinkOsPrinter(Connection connection, LinkOsInformation info) Create Link-OS Zebra printer from a connection that provides access to Link-OS features.static ZebraPrinterLinkOsZebraPrinterFactory.getLinkOsPrinter(Connection connection, LinkOsInformation info, PrinterLanguage language) Create Link-OS Zebra printer from a connection that provides access to Link-OS features.static ZebraPrinterLinkOsZebraPrinterFactory.getLinkOsPrinter(Connection connection, PrinterLanguage language) Create Link-OS Zebra printer from a connection that provides access to Link-OS features.static booleanPrinterUtil.isPrintingChannelInLineMode(Connection connection, PrinterLanguage printerLanguage) Checking line-print modestatic voidSGD.SET(String setting, int value, Connection printerConnection) Constructs an SGD SET command and sends it to the printer.static voidSGD.SET(String setting, String value, Connection printerConnection) Constructs an SGD SET command and sends it to the printer.voidZebraPrinter.setConnection(Connection newConnection) Changes the printer's connection.Constructors in com.zebra.sdk.printer with parameters of type ConnectionModifierConstructorDescriptionPrinterStatus(Connection printerConnection) Constructs a PrinterStatus instance that can be used to determine the status of a printer. -
Uses of Connection in com.zebra.sdk.printer.discovery
Methods in com.zebra.sdk.printer.discovery that return ConnectionModifier and TypeMethodDescriptionabstract ConnectionDiscoveredPrinter.getConnection()Creates a connection based on the information in the DiscoveredPrinter response.DiscoveredPrinterDriver.getConnection()DiscoveredPrinterNetwork.getConnection()DiscoveredUsbPrinter.getConnection()Methods in com.zebra.sdk.printer.discovery with parameters of type ConnectionModifier and TypeMethodDescriptionDiscoveryUtil.getDiscoveryDataMap(Connection connection) Reads the discovery packet from the provided connection and returns a discovery data map -
Uses of Connection in com.zebra.sdk.remote.comm
Classes in com.zebra.sdk.remote.comm that implement ConnectionModifier and TypeClassDescriptionclassEstablishes a Multichannel Remote connection to a deviceclassThis class provides access to remotely connected devices.classEstablishes a status only Remote connection to a device.
-
Uses of Connection in com.zebra.sdk.settings
Methods in com.zebra.sdk.settings with parameters of type ConnectionModifier and TypeMethodDescriptionSettingsRanges.getRanges(List<String> settings, Connection printerConnection, PrinterLanguage printerLanguage, LinkOsInformation version) Use the LinkOS 3.2 JSON syntax to get the ranges for a list of SDGs, without the need to use an allconfig.SettingsValues.getValues(List<String> settingNames, Connection printerConnection, PrinterLanguage printerLanguage, LinkOsInformation version) Get the values for a list of settings from a printer.SettingsValues.setValues(Map<String, String> settingValues, Connection printerConnection, PrinterLanguage printerLanguage, LinkOsInformation version) Set each of the settings in settingValues on a printer. -
Uses of Connection in com.zebra.sdk.weblink
Constructors in com.zebra.sdk.weblink with parameters of type ConnectionModifierConstructorDescriptionWeblinkConfigurator(Connection connection) Initializes a new instance of the WeblinkConfiguratior class.