public abstract class KexVoIPSender
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static de.bsvrz.sys.funclib.debug.Debug |
LOGGER
LOGGER.
|
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(java.lang.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,
java.lang.String empfaenger,
java.lang.String text) |
protected abstract boolean |
isOkResponse(int responseCode) |
VersandStatus |
send(java.lang.String empfaenger,
java.lang.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
public KexVoIPSender(java.lang.String host,
int port)
throws java.lang.Exception
host - VoIP-Sender Hostport - VoIP-Sender Portjava.lang.Exception - bei Fehlernpublic VersandStatus send(java.lang.String empfaenger, java.lang.String text, boolean debug)
empfaenger - Empfängertext - Text in Latindebug - Debug-Flagprotected abstract boolean isOkResponse(int responseCode)
protected abstract de.bitctrl.sibacop.client.AbstractRequest<?> erzeugeRequest(de.bitctrl.sibacop.client.Connection connection,
java.lang.String empfaenger,
java.lang.String text)