Rational Developer for i
7.5.0

com.ibm.etools.systems.as400.debug.sep.internal
Class PhantomEngineTerminateHandler

java.lang.Object
  extended by com.ibm.etools.systems.as400.debug.sep.internal.PhantomEngineEPDCHandler
      extended by com.ibm.etools.systems.as400.debug.sep.internal.PhantomEngineTerminateHandler

public class PhantomEngineTerminateHandler
extends PhantomEngineEPDCHandler

Handle the terminate request. Engine supposes to remove all SEPs.


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.systems.as400.debug.sep.internal.PhantomEngineEPDCHandler
_dataInputStream, _dataOutputStream, _engineSession, _epdcReply, _epdcRequest, _errorMessage, _success
 
Constructor Summary
PhantomEngineTerminateHandler(DataInputStream dataInputStream, DataOutputStream dataOutputStream)
          Constructor
 
Method Summary
protected  boolean execute()
          Execute the request.
protected  boolean processRequest()
          Construct the EPDC_Request and send to Engine.
 boolean terminate()
          Execute the request.
 
Methods inherited from class com.ibm.etools.systems.as400.debug.sep.internal.PhantomEngineEPDCHandler
decodeReply, getErrorMessage, getMessage, isSuccessful, processMessage, setFormatterClass, setSuccessful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

PhantomEngineTerminateHandler

public PhantomEngineTerminateHandler(DataInputStream dataInputStream,
                                     DataOutputStream dataOutputStream)
Constructor

Parameters:
dataInputStream - : the dataInputStream used to read data from Phantom Engine.
dataOutputStream - : the dataOutputStream used to write data to Phantom Engine.
Method Detail

terminate

public boolean terminate()
                  throws IOException
Execute the request. Terminate request does not expect the reply of Engine.

Returns:
true if the request is sent out successfully, false otherwise.
Throws:
IOException - if connection is dropped.

execute

protected boolean execute()
                   throws IOException
Execute the request. Terminate request does not expect the reply of Engine.

Throws:
IOException
See Also:
PhantomEngineEPDCHandler#execute()

processRequest

protected boolean processRequest()
                          throws IOException
Construct the EPDC_Request and send to Engine.

Throws:
IOException

Rational Developer for i
7.5.0

Copyright 2009 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.