org.apache.yoko.orb.OB
Class Downcall

java.lang.Object
  extended by org.apache.yoko.orb.OB.Downcall
Direct Known Subclasses:
PIDowncall

public class Downcall
extends Object


Field Summary
protected  Client client_
           
protected static int DowncallStateFailureException
           
protected static int DowncallStateForward
           
protected static int DowncallStateForwardPerm
           
protected static int DowncallStateNoException
           
protected static int DowncallStatePending
           
protected static int DowncallStateSystemException
           
protected static int DowncallStateUnsent
           
protected static int DowncallStateUserException
           
protected  DowncallEmitter emitter_
           
protected  Exception ex_
           
protected  String exId_
           
protected  IOR forwardIOR_
           
protected  InputStream in_
           
protected  Logger logger_
           
protected  String op_
           
protected  ORBInstance orbInstance_
           
protected  OutputStream out_
           
protected  RefCountPolicyList policies_
           
protected  ProfileInfo profileInfo_
           
protected  Vector replySCL_
           
protected  int reqId_
           
protected  Vector requestSCL_
           
protected  boolean responseExpected_
           
protected  int state_
           
protected  Object stateMonitor_
           
 
Constructor Summary
Downcall(ORBInstance orbInstance, Client client, ProfileInfo profileInfo, RefCountPolicyList policies, String op, boolean resp)
           
 
Method Summary
 void addToRequestSCL(ServiceContext sc)
           
 Client client()
           
 void deferred()
           
 Exception excep()
           
 boolean failureException()
           
 ServiceContext[] getRequestSCL()
           
 void initStateMonitor()
           
 InputStream input()
           
 void locate()
           
 void marshalEx(SystemException ex)
           
 boolean noException()
           
 void oneway()
           
 String operation()
           
 ORBInstance orbInstance()
           
 OutputStream output()
           
 boolean pending()
           
 RefCountPolicyList policies()
           
 boolean poll()
           
 void postMarshal()
           
 void postUnmarshal()
           
 OutputStream preMarshal()
           
protected  OutputStream preMarshalBase()
           
 InputStream preUnmarshal()
           
 ProfileInfo profileInfo()
           
 void request()
           
 int requestId()
           
 void response()
           
 boolean responseExpected()
           
 void setFailureException(SystemException ex)
           
 void setLocationForward(IOR ior, boolean perm)
           
 void setNoException(InputStream in)
           
 void setPending()
           
 void setReplySCL(ServiceContext[] scl)
           
 void setSystemException(SystemException ex)
           
 void setUserException(InputStream in)
           
 void setUserException(String exId)
           
 void setUserException(UserException ex)
           
 void setUserException(UserException ex, String exId)
           
 boolean systemException()
           
 void unmarshalEx(SystemException ex)
           
 String unmarshalExceptionId()
           
 boolean unsent()
           
 boolean userException()
           
 boolean waitUntilCompleted(boolean block)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orbInstance_

protected ORBInstance orbInstance_

logger_

protected Logger logger_

client_

protected Client client_

emitter_

protected DowncallEmitter emitter_

profileInfo_

protected ProfileInfo profileInfo_

policies_

protected RefCountPolicyList policies_

reqId_

protected int reqId_

op_

protected String op_

responseExpected_

protected boolean responseExpected_

out_

protected OutputStream out_

in_

protected InputStream in_

DowncallStateUnsent

protected static final int DowncallStateUnsent
See Also:
Constant Field Values

DowncallStatePending

protected static final int DowncallStatePending
See Also:
Constant Field Values

DowncallStateNoException

protected static final int DowncallStateNoException
See Also:
Constant Field Values

DowncallStateUserException

protected static final int DowncallStateUserException
See Also:
Constant Field Values

DowncallStateSystemException

protected static final int DowncallStateSystemException
See Also:
Constant Field Values

DowncallStateFailureException

protected static final int DowncallStateFailureException
See Also:
Constant Field Values

DowncallStateForward

protected static final int DowncallStateForward
See Also:
Constant Field Values

DowncallStateForwardPerm

protected static final int DowncallStateForwardPerm
See Also:
Constant Field Values

state_

protected int state_

stateMonitor_

protected Object stateMonitor_

ex_

protected Exception ex_

exId_

protected String exId_

forwardIOR_

protected IOR forwardIOR_

requestSCL_

protected Vector requestSCL_

replySCL_

protected Vector replySCL_
Constructor Detail

Downcall

public Downcall(ORBInstance orbInstance,
                Client client,
                ProfileInfo profileInfo,
                RefCountPolicyList policies,
                String op,
                boolean resp)
Method Detail

preMarshalBase

protected final OutputStream preMarshalBase()
                                     throws LocationForward,
                                            FailureException
Throws:
LocationForward
FailureException

orbInstance

public ORBInstance orbInstance()

client

public Client client()

profileInfo

public ProfileInfo profileInfo()

policies

public RefCountPolicyList policies()

excep

public Exception excep()

requestId

public int requestId()

operation

public String operation()

responseExpected

public boolean responseExpected()

output

public OutputStream output()

input

public InputStream input()

getRequestSCL

public ServiceContext[] getRequestSCL()

addToRequestSCL

public void addToRequestSCL(ServiceContext sc)

setReplySCL

public void setReplySCL(ServiceContext[] scl)

preMarshal

public OutputStream preMarshal()
                        throws LocationForward,
                               FailureException
Throws:
LocationForward
FailureException

marshalEx

public void marshalEx(SystemException ex)
               throws LocationForward,
                      FailureException
Throws:
LocationForward
FailureException

postMarshal

public void postMarshal()
                 throws LocationForward,
                        FailureException
Throws:
LocationForward
FailureException

locate

public void locate()
            throws LocationForward,
                   FailureException
Throws:
LocationForward
FailureException

request

public void request()
             throws LocationForward,
                    FailureException
Throws:
LocationForward
FailureException

oneway

public void oneway()
            throws LocationForward,
                   FailureException
Throws:
LocationForward
FailureException

deferred

public void deferred()
              throws LocationForward,
                     FailureException
Throws:
LocationForward
FailureException

response

public void response()
              throws LocationForward,
                     FailureException
Throws:
LocationForward
FailureException

poll

public boolean poll()
             throws LocationForward,
                    FailureException
Throws:
LocationForward
FailureException

preUnmarshal

public InputStream preUnmarshal()
                         throws LocationForward,
                                FailureException
Throws:
LocationForward
FailureException

unmarshalEx

public void unmarshalEx(SystemException ex)
                 throws LocationForward,
                        FailureException
Throws:
LocationForward
FailureException

postUnmarshal

public void postUnmarshal()
                   throws LocationForward,
                          FailureException
Throws:
LocationForward
FailureException

unmarshalExceptionId

public String unmarshalExceptionId()

unsent

public boolean unsent()

pending

public boolean pending()

noException

public boolean noException()

userException

public boolean userException()

failureException

public boolean failureException()

systemException

public boolean systemException()

setPending

public void setPending()

setNoException

public void setNoException(InputStream in)

setUserException

public void setUserException(InputStream in)

setUserException

public void setUserException(UserException ex,
                             String exId)

setUserException

public void setUserException(UserException ex)

setUserException

public void setUserException(String exId)

setSystemException

public void setSystemException(SystemException ex)

setFailureException

public void setFailureException(SystemException ex)

setLocationForward

public void setLocationForward(IOR ior,
                               boolean perm)

initStateMonitor

public void initStateMonitor()

waitUntilCompleted

public boolean waitUntilCompleted(boolean block)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.