|
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CommException | |
---|---|
janus.net | Basisfunktionen zur Kommunikation mit einem HP NonStop/Tandem-System. |
janus.sap | Basisfunktionen zur Kommunikation mit einem SAP-System. |
Uses of CommException in janus.net |
---|
Subclasses of CommException in janus.net | |
---|---|
class |
TandemException
Eine Exception, die von janus.net.Connection-Methoden bei Fehlern in der Kommunikation mit dem Remote-Server geworfen wird. |
Fields in janus.net declared as CommException | |
---|---|
protected CommException |
Connection.exception
Letzter Fehler |
Methods in janus.net that return CommException | |
---|---|
CommException |
Connection.getException()
Rückgabe des letzten Fehlers |
Methods in janus.net that throw CommException | |
---|---|
void |
Connection.abortTransaction()
Zurücknehmen einer Transaktion (Alias für rollbackTransaction.) |
ServerConnection |
LocalConnection.acceptNew()
Umgekehrter Verbindungsaufbau für UMS Nicht implementiert! |
ServerConnection |
Connection.acceptNew()
Umgekehrter Verbindungsaufbau für UMS |
protected ConnectionPool.PoolElement |
ConnectionPool.addElement()
Erzeuge ein neues Element mit neuer Verbindung |
void |
Connection.autoCommitTransaction(int success_lo,
int success_hi)
Automatisches Transaktionsende. |
int |
LocalConnection.awaitIo(int timeout)
Warte auf I/O. |
int |
Connection.awaitIo(int timeout)
Warte auf I/O. |
void |
Connection.beginTransaction()
Beginn einer Transaktion. |
void |
LocalConnection.cancel()
Breche Nowait-I/O ab. |
void |
Connection.cancel()
Breche Nowait-I/O ab. |
protected void |
Connection.checkConnection()
Test auf bestehende Verbindung. |
void |
Connection.commitTransaction()
Beenden einer Transaktion (Alias für endTransaction.) |
void |
LocalConnection.connect()
Verbindungsaufbau mit den gespeicherten Parametern. |
void |
Connection.connect()
Verbindungsaufbau mit den gespeicherten Parametern. |
void |
Connection.connect(String host,
int port,
String init)
Verbindungsaufbau. |
void |
Connection.connect(String host,
int port,
String init,
boolean compress)
Verbindungsaufbau. |
static Connection |
ConnectionFactory.create(String host,
int port,
String init)
Factory - erzeugt Verbindung. |
static Connection |
ConnectionFactory.create(String host,
int port,
String init,
boolean debug)
Factory - erzeugt Verbindung mit Debugging auf System.out. |
static Connection |
ConnectionFactory.create(String host,
int port,
String init,
PrintWriter stream)
Factory - erzeugt Verbindung mit Debugging auf PrintWriter. |
static Connection |
ConnectionFactory.create(String host,
int port,
String init,
String file)
Factory - erzeugt Verbindung mit Debugging in Datei. |
protected Connection |
ConnectionPool.createConnection()
Erzeuge eine neue Connection |
void |
Connection.endTransaction()
Beenden einer Transaktion. |
protected void |
ProxyServer.forward()
Reiche eine Nachricht transparent durch. |
Connection |
ConnectionPool.getConnection()
Factory für Verbindungen. |
Connection |
ConnectionPool.getConnection(int timeout)
Factory für Verbindungen |
int |
Connection.getUserData(byte[] dst,
int offset,
int maxlen)
Rückgabe der User-Daten. |
protected void |
ProxyServer.handleAwaitIo()
Warte auf einen NOWAIT-I/O |
protected void |
ProxyServer.handleCancel()
Breche einen I/O ab |
protected void |
ProxyServer.handleData()
Verarbeite eine eingehende Daten-Nachricht. |
static void |
TestPool.main(String[] args)
|
static void |
TestClient.main(String[] args)
Hauptprogramm, instanziiert die Testklasse mit den Parametern aus der Kommandozeile. |
static void |
SecureConnection.main(String[] args)
Test |
static void |
LocalConnection.main(String[] args)
Test |
static void |
Connection.main(String[] args)
Test |
void |
Connection.notImplemented(String caller)
Wirf CommException NOT_IMPLEMENTED |
void |
ServerConnection.receiveBuffer()
Empfangen der Antwort in io_buffer. |
void |
Connection.receiveBuffer()
Empfangen der Antwort in io_buffer. |
int |
ServerConnection.receiveMessage(byte[] buffer,
int offset,
int len)
Nachricht von Client. |
int |
ServerConnection.receiveMessage(MessageElement msg)
Nachricht von Client. |
protected void |
ProxyServer.reserveConnection()
Hole eine Connection aus dem Pool |
protected com.tandem.tmf.Current |
LocalConnection.resumeTransaction()
Nehme die aktuelle Transaktion wieder auf |
void |
Connection.rollbackTransaction()
Zurücknehmen einer Transaktion. |
protected void |
Connection.sendAccept(int port)
Accept-Nachricht. |
void |
ServerConnection.sendAck()
Positive Quittung |
protected void |
ServerBase.sendAck()
Sende positive Quittung |
void |
ServerConnection.sendAck(String text)
Positive Quittung mit Text |
protected void |
ServerBase.sendAck(String text)
Sende positive Quittung |
void |
LocalConnection.sendBuffer(byte[] buffer,
int length)
Senden eines beliebigen Puffers. |
void |
Connection.sendBuffer(byte[] buffer,
int length)
Senden eines beliebigen Puffers. |
protected void |
Connection.sendBuffer(String tag,
int len,
int opt)
Senden einer Nachricht. |
protected void |
ServerConnection.sendError(int error_code,
int subsystem,
int subsystem_error,
int extended_error,
int error_class,
String text)
Fehlerantwort |
protected void |
ServerBase.sendError(int error_code,
int subsystem,
int subsystem_error,
int extended_error,
int error_class,
String text)
Fehlerantwort |
void |
ServerConnection.sendError(int error_code,
String text)
Fehlerantwort |
protected void |
ServerBase.sendError(int error_code,
String text)
Fehlerantwort |
void |
ServerConnection.sendError(String text)
Fehlerantwort |
void |
ServerBase.sendError(String text)
Fehlerantwort |
protected void |
Connection.sendInit(String init)
Init-Nachricht. |
protected int |
Connection.sendMessage(String dest)
Message an Server. |
int |
Connection.sendMessage(String dest,
byte[] msg,
int msg_offset,
int msg_len,
byte[] reply,
int reply_offset,
int reply_len)
Message an Server. |
int |
LocalConnection.sendMessage(String dest,
byte[] msg,
int msg_offset,
int msg_len,
byte[] reply,
int reply_offset,
int reply_len,
int timeout)
Message an Server mit Timeout. |
int |
Connection.sendMessage(String dest,
byte[] msg,
int msg_offset,
int msg_len,
byte[] reply,
int reply_offset,
int reply_len,
int timeout)
Message an Server mit Timeout. |
protected int |
Connection.sendMessage(String dest,
int timeout)
Message an Server mit Timeout. |
int |
Connection.sendMessage(String dest,
MessageElement[] msg,
MessageElement[] reply)
Message an Server. |
int |
Connection.sendMessage(String dest,
MessageElement[] msg,
MessageElement[] reply,
int timeout)
Message an Server mit Timeout. |
int |
Connection.sendMessage(String dest,
MessageElement msg,
int msg_len,
MessageElement reply)
Message an Server. |
int |
Connection.sendMessage(String dest,
MessageElement msg,
int msg_len,
MessageElement reply,
int timeout)
Message an Server mit Timeout. |
int |
Connection.sendMessage(String dest,
MessageElement msg,
MessageElement reply)
Message an Server. |
int |
Connection.sendMessage(String dest,
MessageElement msg,
MessageElement reply,
int timeout)
Message an Server mit Timeout. |
void |
ServerConnection.sendReply(byte[] buffer,
int offset,
int len)
Antwort an Client. |
void |
ServerBase.sendReply(byte[] buffer,
int offset,
int len)
Antwort an Client. |
void |
ServerConnection.sendReply(MessageElement reply)
Antwort an Client. |
void |
ServerBase.sendReply(MessageElement reply)
Antwort an Client. |
void |
ServerConnection.sendReply(MessageElement reply,
int len)
Antwort an Client. |
void |
ServerBase.sendReply(MessageElement reply,
int len)
Antwort an Client. |
void |
LocalConnection.sendTransaction(int type,
int success_lo,
int success_hi)
Transaktionsmessage. |
void |
Connection.sendTransaction(int type,
int success_lo,
int success_hi)
Transaktionsmessage. |
int |
LocalConnection.sendUms(String terminal,
String alias,
byte[] msg,
int msg_offset,
int msg_len,
byte[] reply,
int reply_offset,
int reply_len)
Message an UMS-Client. |
int |
Connection.sendUms(String terminal,
String alias,
byte[] msg,
int msg_offset,
int msg_len,
byte[] reply,
int reply_offset,
int reply_len)
Message an UMS-Client. |
int |
Connection.sendUms(String terminal,
String alias,
MessageElement msg,
int msg_len,
MessageElement reply)
Message an UMS-Client. |
int |
Connection.sendUms(String terminal,
String alias,
MessageElement msg,
MessageElement reply)
Message an UMS-Client. |
void |
Connection.singleTransaction(int success_lo,
int success_hi)
Automatische Einzeltransaktion. |
protected void |
LocalConnection.suspendTransaction(com.tandem.tmf.Current current)
Parke die aktuelle Transaktion. |
protected void |
Connection.tcpRead(int offset,
int len)
Empfangen einer definierten Anzahl von Bytes über die Socket-Verbindung. |
protected void |
Connection.tcpWrite()
Senden des Puffers über die Socket-Verbindung. |
Constructors in janus.net that throw CommException | |
---|---|
Connection(ConnectionParameter param)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
Connection(ConnectionParameter param,
boolean debug)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
Connection(String host,
int port,
String init)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
Connection(String host,
int port,
String init,
boolean compress,
boolean debug)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
Connection(String host,
int port,
String init,
boolean compress,
PrintWriter stream)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
Connection(String host,
int port,
String init,
boolean compress,
String file)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
LocalConnection(String init,
PrintWriter stream)
Konstruktor - Speichert die Parameter |
|
SecureConnection(ConnectionParameter param)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
SecureConnection(ConnectionParameter param,
boolean debug)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
SecureConnection(String host,
int port,
String init)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
SecureConnection(String host,
int port,
String init,
boolean debug)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
SecureConnection(String host,
int port,
String init,
PrintWriter stream)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
SecureConnection(String host,
int port,
String init,
String file)
Konstruktor - baut die Verbindung zum Tandem-System auf. |
|
ServerConnection(Socket socket,
String text,
PrintWriter stream)
Konstruktor für eingehende Verbindungen |
Uses of CommException in janus.sap |
---|
Methods in janus.sap that throw CommException | |
---|---|
protected void |
SapJanus.doAwaitio(com.sap.mw.jco.JCO.ParameterList imp,
com.sap.mw.jco.JCO.ParameterList exp,
com.sap.mw.jco.JCO.ParameterList tab)
Warte auf die Antwort. |
protected void |
SapJanus.doAwaitiotext(com.sap.mw.jco.JCO.ParameterList imp,
com.sap.mw.jco.JCO.ParameterList exp,
com.sap.mw.jco.JCO.ParameterList tab)
Warte auf die Antwort. |
protected void |
SapJanus.doCancel(com.sap.mw.jco.JCO.ParameterList imp,
com.sap.mw.jco.JCO.ParameterList exp,
com.sap.mw.jco.JCO.ParameterList tab)
Breche einen laufenden I/O ab. |
protected void |
SapJanus.doDisconnect(com.sap.mw.jco.JCO.ParameterList imp,
com.sap.mw.jco.JCO.ParameterList exp,
com.sap.mw.jco.JCO.ParameterList tab)
Verbindungsabbau |
protected void |
SapJanus.doSendmessage(com.sap.mw.jco.JCO.ParameterList imp,
com.sap.mw.jco.JCO.ParameterList exp,
com.sap.mw.jco.JCO.ParameterList tab)
Message senden und Antwort empfangen. |
protected void |
SapJanus.doSendtextmessage(com.sap.mw.jco.JCO.ParameterList imp,
com.sap.mw.jco.JCO.ParameterList exp,
com.sap.mw.jco.JCO.ParameterList tab)
Message senden und Antwort empfangen. |
protected void |
SapJanus.doTransaction(com.sap.mw.jco.JCO.ParameterList imp,
com.sap.mw.jco.JCO.ParameterList exp,
com.sap.mw.jco.JCO.ParameterList tab)
Transaktionssteuerung |
Connection |
SapJanus.Handle.getConnection()
Ermittle die Verbindung oder hole eine neue aus dem Pool. |
|
||||||||
PREV NEXT | FRAMES NO FRAMES |