com.microfocus.cobol.connector.transport.nativelib
Class BINPLocalCall

java.lang.Object
  extended bycom.microfocus.cobol.connector.transport.CobolConnection
      extended bycom.microfocus.cobol.connector.transport.BINPCall
          extended bycom.microfocus.cobol.connector.transport.nativelib.BINPLocalCall
All Implemented Interfaces:
BINPAuditorHandler, LocalTransactionConnector, Serializable, XATransactionConnector

public class BINPLocalCall
extends BINPCall
implements Serializable, BINPAuditorHandler

Shared Memory transport adapter class (currently not implemented)

Copyright: Copyright (c) 2002-2003 Company: Micro Focus International Ltd

See Also:
Serialized Form

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

BINPLocalCall

public BINPLocalCall()
Constructor declaration

Method Detail

connect

public void connect()
             throws com.microfocus.cobol.CobolException
Method declaration

Overrides:
connect in class BINPCall
Throws:
com.microfocus.cobol.CobolException

reconnect

public void reconnect()
               throws com.microfocus.cobol.CobolException
Method declaration

Specified by:
reconnect in class CobolConnection
Throws:
com.microfocus.cobol.CobolException

readMessageBundle

public DataInputStream readMessageBundle()
                                  throws IOException
Method declaration

Specified by:
readMessageBundle in class BINPCall
Returns:
Throws:
IOException

Activate

public void Activate()
Activate a remote call

Specified by:
Activate in class CobolConnection

Passivate

public void Passivate()
Passivate a remote call

Specified by:
Passivate in class CobolConnection

writeMessageBundle

public byte[] writeMessageBundle()
                          throws IOException
Method declaration

Specified by:
writeMessageBundle in class BINPCall
Throws:
IOException

execute

public Object execute(int operation,
                      String className,
                      String programName,
                      Class retCodeType,
                      Object inParameters,
                      Object outParameters)
               throws Exception,
                      com.microfocus.cobol.CobolException
Method declaration

Overrides:
execute in class BINPCall
Parameters:
operation -
className -
programName -
retCodeType -
inParameters -
outParameters -
Returns:
Throws:
com.microfocus.cobol.CobolException
Exception

canRetryOnFailure

public boolean canRetryOnFailure()
Should we retry a failure?

Specified by:
canRetryOnFailure in class BINPCall
Returns:
a boolean

register

public void register(BINPAuditor auditor)
Class declaration

Specified by:
register in interface BINPAuditorHandler



Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.