public abstract class KexVoIPSender extends Object
Modifier and Type | Field and Description |
---|---|
private String |
host
Host.
|
protected static de.bsvrz.sys.funclib.debug.Debug |
LOGGER
LOGGER.
|
private int |
port
Port.
|
static int |
VOIP_RESPONSE_CODE_ANSWERED
Answered.
|
static int |
VOIP_RESPONSE_CODE_COMPLETED
Completed.
|
static int |
VOIP_RESPONSE_CODE_NO_ERROR
Die Response-Code sind HTTP-Codes.
|
Constructor and Description |
---|
KexVoIPSender(String host,
int port)
Standardkonstruktor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract de.bitctrl.sibacop.client.AbstractRequest<?> |
erzeugeRequest(de.bitctrl.sibacop.client.Connection connection,
String empfaenger,
String text) |
protected abstract boolean |
isOkResponse(int responseCode) |
VersandStatus |
send(String empfaenger,
String text,
boolean debug)
Sendet eine Nachricht (Voicemail oder FAX) über VoiP.
|
protected static final de.bsvrz.sys.funclib.debug.Debug LOGGER
public static final int VOIP_RESPONSE_CODE_NO_ERROR
public static final int VOIP_RESPONSE_CODE_ANSWERED
public static final int VOIP_RESPONSE_CODE_COMPLETED
private final String host
private final int port
public VersandStatus send(String empfaenger, String text, boolean debug)
empfaenger
- Empfängertext
- Text in Latindebug
- Debug-Flagprotected abstract boolean isOkResponse(int responseCode)
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.