java.lang.Objectcom.microfocus.cobol.connector.transport.CobolConnection
com.microfocus.cobol.connector.transport.BINPCall
com.microfocus.cobol.connector.transport.nativelib.BINPLocalCall
Shared Memory transport adapter class (currently not implemented)
Copyright: Copyright (c) 2002-2003 Company: Micro Focus International Ltd
| Field Summary |
| Fields inherited from class com.microfocus.cobol.connector.transport.BINPCall |
byteOutputStream, debug, defaultDigestType, dis, dos |
| Fields inherited from class com.microfocus.cobol.connector.transport.CobolConnection |
OPTYPE_CANCEL, OPTYPE_COBCALL, OPTYPE_COBLOAD, OPTYPE_DISPOSE, OPTYPE_PING, OPTYPE_SETISINITIAL, OPTYPE_TRAN_LOCAL_COMMIT, OPTYPE_TRAN_LOCAL_ROLLBACK, OPTYPE_TRAN_LOCAL_START, OPTYPE_TRAN_XA_COMMIT, OPTYPE_TRAN_XA_END, OPTYPE_TRAN_XA_FORGET, OPTYPE_TRAN_XA_PREPARE, OPTYPE_TRAN_XA_RECOVER, OPTYPE_TRAN_XA_ROLLBACK, OPTYPE_TRAN_XA_START |
| Constructor Summary | |
BINPLocalCall()
Constructor declaration |
|
| Method Summary | |
void |
Activate()
Activate a remote call |
boolean |
canRetryOnFailure()
Should we retry a failure? |
void |
connect()
Method declaration |
Object |
execute(int operation,
String className,
String programName,
Class retCodeType,
Object inParameters,
Object outParameters)
Method declaration |
void |
Passivate()
Passivate a remote call |
DataInputStream |
readMessageBundle()
Method declaration |
void |
reconnect()
Method declaration |
void |
register(BINPAuditor auditor)
Class declaration |
byte[] |
writeMessageBundle()
Method declaration |
| Methods inherited from class com.microfocus.cobol.connector.transport.BINPCall |
disconnect, getIsInitial, isActive, readStatusMessage, readStatusMessage |
| Methods inherited from class com.microfocus.cobol.connector.transport.CobolConnection |
begin, commit, createConnection, getConnectionProperty, getConnectionProperty, getServerURN, getSessionID, registerConnectionHandler, removeConnectionProperty, rollback, setConnectionProperty, xa_commit, xa_commit, xa_end, xa_end, xa_forget, xa_forget, xa_prepare, xa_recover, xa_recover, xa_rollback, xa_rollback, xa_start, xa_start |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.microfocus.cobol.connector.transport.LocalTransactionConnector |
begin, commit, rollback |
| Methods inherited from interface com.microfocus.cobol.connector.transport.XATransactionConnector |
xa_commit, xa_end, xa_forget, xa_prepare, xa_recover, xa_rollback, xa_start |
| Constructor Detail |
public BINPLocalCall()
| Method Detail |
public void connect()
throws com.microfocus.cobol.CobolException
connect in class BINPCallcom.microfocus.cobol.CobolException
public void reconnect()
throws com.microfocus.cobol.CobolException
reconnect in class CobolConnectioncom.microfocus.cobol.CobolException
public DataInputStream readMessageBundle()
throws IOException
readMessageBundle in class BINPCallIOExceptionpublic void Activate()
Activate in class CobolConnectionpublic void Passivate()
Passivate in class CobolConnection
public byte[] writeMessageBundle()
throws IOException
writeMessageBundle in class BINPCallIOException
public Object execute(int operation,
String className,
String programName,
Class retCodeType,
Object inParameters,
Object outParameters)
throws Exception,
com.microfocus.cobol.CobolException
execute in class BINPCalloperation - className - programName - retCodeType - inParameters - outParameters -
com.microfocus.cobol.CobolException
Exceptionpublic boolean canRetryOnFailure()
canRetryOnFailure in class BINPCallpublic void register(BINPAuditor auditor)
register in interface BINPAuditorHandlerCopyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.