支援讀取和寫入印表機配置。 更多...
公開方法(Public Methods) | |
Configs (IComm connection) | |
必須傳遞一個已打開的 comm 連接,當監聽來自印表機的非請求讯息時,可以保持打開狀態。 更多... | |
Configs (JsonComm mgmtComm) | |
當已有的 mgmt comm 物件存在以監聽管理訊息時呼叫此建構子。 更多... | |
Configs (String commDescriptor) | |
當由 SDK 管理的連接被創建時呼叫此建構子。 更多... | |
void | close () |
void | Dispose () |
List< Config > | GetAllConfig () |
繼承自 IConfigs.GetAllConfig | |
Config | GetConfig (int cfgNumber) |
繼承自 IConfigs.GetConfig | |
boolean | SetConfig (Config Cfg) |
繼承自 IConfigs.SetConfig | |
保護方法(Protected Methods) | |
void | Dispose (boolean disposing) |
void | finalize () throws Throwable |
Configs | ( | String | commDescriptor | ) |
當由 SDK 管理的連接被創建時呼叫此建構子。
commDescriptor 是用於連接印表機的通信描述符。
TCP 描述符格式為:"ip" 或 "ip:port"
例如:"127.0.0.1" 或 "127.0.0.1:3007"
如果未提供端口,則使用預設值。