public interface RemoteConfigurationFax
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnector()
Gets the name of the class.
|
int |
getDialing()
Gets the dialing mode
|
int |
getFlowCommand()
Gets the flow command.
|
int |
getFlowControl()
Gets the flow control.
|
java.lang.String |
getInitString()
Gets the modem's initialized string
|
int |
getMaxRetries()
Gets the maximum retry times.
|
int |
getModemClass()
Returns the modem class.
|
java.lang.String |
getPassword()
Gets the password for the class communicating with fax server.
|
java.lang.String |
getPort()
Gets the port in the system.
|
java.lang.String |
getServerIP()
Gets the IP address or domain name of the fax server.
|
int |
getServerPort()
Gets the port number of the fax server.
|
java.lang.String |
getSpecParameters()
Gets the special parameter of the fax server.
|
int |
getTimeOut()
Gets the timeout in milliseconds.
|
java.lang.String |
getUserID()
Gets user ID which logs in the class communicating with fax server.
|
java.lang.String |
getUserName()
Gets the user name shown in the fax server manager.
|
void |
setConnector(java.lang.String connector)
Sets the name of the class implemented by the user.
|
void |
setDialing(int dialing)
Sets the dialing mode.
|
void |
setFlowCommand(int flowCommand)
Sets the flow command.
|
void |
setFlowControl(int flowControl)
Sets the flow modem control.
|
void |
setInitString(java.lang.String initString)
Sets the modem's initialized string.
|
void |
setMaxRetries(int maxRetries)
Sets the maximum retry times to connect to destination when it is busy.
|
void |
setModemClass(int modemClass)
Sets the modem class.
|
void |
setPassword(java.lang.String password)
Sets the password for the class communicating with fax server.
|
void |
setPort(java.lang.String port)
Sets the port in the system.
|
void |
setServerIP(java.lang.String serverIP)
Sets the IP address or domain name of the fax server.
|
void |
setServerPort(int serverPort)
Sets the port number of the fax server.
|
void |
setSpecParameters(java.lang.String parameters)
Sets the special parameters of the fax server.
|
void |
setTimeOut(int timeOut)
Sets the waiting time for getting response from the fax server.
|
void |
setUserID(java.lang.String userID)
Sets user ID for the class communicating with fax server.
|
void |
setUserName(java.lang.String userName)
Sets the user name in the fax server manager.
|
void |
setViaFaxServer(boolean viaFaxServer)
Sets whether to export report result to fax via Fax Server or Fax Machine
|
boolean |
viaFaxServer()
Returns true when exporting report result via Fax Server, otherwise return false.
|
void setDialing(int dialing) throws java.rmi.RemoteException
dialing
- 0: tone, 1: pulsejava.rmi.RemoteException
- if communication-related error occurs during RMI call executionint getDialing() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setModemClass(int modemClass) throws java.rmi.RemoteException
modemClass
- 0: class1
1: class2
2: class20java.rmi.RemoteException
- if communication-related error occurs during RMI call executionint getModemClass() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setFlowControl(int flowControl) throws java.rmi.RemoteException
flowControl
- 0: RtsCts
1: XonXoff
2: Nonejava.rmi.RemoteException
- if communication-related error occurs during RMI call executionint getFlowControl() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setFlowCommand(int flowCommand) throws java.rmi.RemoteException
flowCommand
- 0 :
1 : -- RtsCts --
2 : AT+FLO=2
3 : AT&K3
4 : AT&\\Q3
5 : -- XonXoff --
6 : AT+FLO=1
7 : AT&K4
8 : AT&\\Q4java.rmi.RemoteException
- if communication-related error occurs during RMI call executionint getFlowCommand() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setPort(java.lang.String port) throws java.rmi.RemoteException
The
- port in the system, such as COM1 or COM2java.rmi.RemoteException
- if communication-related error occurs during RMI call executionjava.lang.String getPort() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setInitString(java.lang.String initString) throws java.rmi.RemoteException
initString
- for example, ATV1Q0java.rmi.RemoteException
- if communication-related error occurs during RMI call executionjava.lang.String getInitString() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setViaFaxServer(boolean viaFaxServer) throws java.rmi.RemoteException
viaFaxServer
- true: Fax server
false: Fax Machinejava.rmi.RemoteException
- if communication-related error occurs during RMI call executionboolean viaFaxServer() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setConnector(java.lang.String connector) throws java.rmi.RemoteException
connector
- the custom class namejava.rmi.RemoteException
- if communication-related error occurs during RMI call executionjava.lang.String getConnector() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setServerIP(java.lang.String serverIP) throws java.rmi.RemoteException
serverIP
- java.rmi.RemoteException
- if communication-related error occurs during RMI call executionjava.lang.String getServerIP() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setServerPort(int serverPort) throws java.rmi.RemoteException
serverPort
- the port to be setjava.rmi.RemoteException
- if communication-related error occurs during RMI call executionint getServerPort() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setUserID(java.lang.String userID) throws java.rmi.RemoteException
userID
- the user IDjava.rmi.RemoteException
- if communication-related error occurs during RMI call executionjava.lang.String getUserID() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setPassword(java.lang.String password) throws java.rmi.RemoteException
password
- the password to be setjava.rmi.RemoteException
- if communication-related error occurs during RMI call executionjava.lang.String getPassword() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setUserName(java.lang.String userName) throws java.rmi.RemoteException
userName
- java.rmi.RemoteException
- if communication-related error occurs during RMI call executionjava.lang.String getUserName() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setSpecParameters(java.lang.String parameters) throws java.rmi.RemoteException
the
- parameters of the fax server.java.rmi.RemoteException
- if communication-related error occurs during RMI call executionjava.lang.String getSpecParameters() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setTimeOut(int timeOut) throws java.rmi.RemoteException
timeOut
- the time of waitingjava.rmi.RemoteException
- if communication-related error occurs during RMI call executionint getTimeOut() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call executionvoid setMaxRetries(int maxRetries) throws java.rmi.RemoteException
maxRetries
- the maximum retry timesjava.rmi.RemoteException
- if communication-related error occurs during RMI call executionint getMaxRetries() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution