Rational Developer for i
7.5.0

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

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

public class PhantomServiceEntryPointRemoveHandler
extends PhantomEngineEPDCHandler

The class to handle the remove request.


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
PhantomServiceEntryPointRemoveHandler(DataInputStream dataInputStream, DataOutputStream dataOutputStream)
          Constructor
 
Method Summary
protected  boolean processReply()
          Process the reply from engine.
protected  boolean processRequest()
          Create EPDC_Request and send to engine.
 void remove(int sepID)
          Remove a Service entry point.
 void run(IProgressMonitor monitor)
          Process the request/reply.
 
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

PhantomServiceEntryPointRemoveHandler

public PhantomServiceEntryPointRemoveHandler(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

remove

public void remove(int sepID)
Remove a Service entry point.

Parameters:
sepID - : the ID for the Service entry point.
Throws:
IOException - if connection is dropped.

run

public void run(IProgressMonitor monitor)
         throws InvocationTargetException,
                InterruptedException
Process the request/reply.

Throws:
IOException - if connection is dropped.
InvocationTargetException
InterruptedException

processRequest

protected boolean processRequest()
                          throws IOException
Create EPDC_Request and send to engine.

Throws:
IOException

processReply

protected boolean processReply()
Process the reply from engine.


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.