com.microfocus.cobol.connector.transport
Class BINPRemoteCall

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

public class BINPRemoteCall
extends BINPCall
implements LocalTransactionConnector, XATransactionConnector, Serializable, BINPAuditorHandler

Socket transport adapter for BINP transport adapter

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
BINPRemoteCall()
          Constructor declaration
 
Method Summary
 void Activate()
          Activate a remote call
 boolean canRetryOnFailure()
          Should we retry a failure?
 void connect()
          Connect to a server.
 void disconnect()
          Disconnect a connection.
 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
execute, 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

BINPRemoteCall

public BINPRemoteCall()
Constructor declaration

Method Detail

connect

public final void connect()
                   throws com.microfocus.cobol.CobolException
Connect to a server.

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

disconnect

public final void disconnect()
                      throws com.microfocus.cobol.CobolException
Disconnect a connection.

Overrides:
disconnect 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
Throws:
IOException

writeMessageBundle

public byte[] writeMessageBundle()
                          throws IOException
Method declaration

Specified by:
writeMessageBundle in class BINPCall
Throws:
IOException

Activate

public void Activate()
              throws BINPException
Activate a remote call

Specified by:
Activate in class CobolConnection
Throws:
BINPException

Passivate

public void Passivate()
               throws BINPException
Passivate a remote call

Specified by:
Passivate in class CobolConnection
Throws:
BINPException

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.