org.apache.yoko.orb.OB
Class DowncallStub

java.lang.Object
  extended by org.apache.yoko.orb.OB.DowncallStub

public final class DowncallStub
extends Object


Constructor Summary
DowncallStub(ORBInstance orbInstance, IOR ior, IOR origIOR, RefCountPolicyList policies)
           
 
Method Summary
 void _OB_closeConnection(boolean terminate)
           
 ORBInstance _OB_getORBInstance()
           
 boolean ami_callback_request(OutputStream out, ReplyHandler reply, ProfileInfo info)
           
 PersistentRequest ami_poll_request(OutputStream out, String operation, ServiceContext[] scl)
           
 void AMIRouterPostMarshal(GIOPOutgoingMessage outgoing, OutputStreamHolder out)
           
 GIOPOutgoingMessage AMIRouterPreMarshal(String operation, boolean responseExpected, OutputStreamHolder out, ProfileInfoHolder info)
           
 Downcall createDowncall(String op, boolean resp)
           
 Downcall createLocateRequestDowncall()
           
 Downcall createPIArgsDowncall(String op, boolean resp, ParameterDesc[] argDesc, ParameterDesc retDesc, TypeCode[] exceptionTC)
           
 Downcall createPIDIIDowncall(String op, boolean resp, NVList args, NamedValue result, ExceptionList exceptions)
           
 void deferred(Downcall down)
           
protected  void finalize()
           
 ConnectorInfo get_oci_connector_info()
           
 TransportInfo get_oci_transport_info()
           
 Object getAMIPollTarget()
           
 void handleFailureException(Downcall down, FailureException ex)
           
 InputStream invoke(Object self, OutputStream out)
           
 boolean locate_request()
           
 void locate(Downcall down)
           
 void marshalEx(Downcall down, SystemException ex)
           
 void oneway(Downcall down)
           
 boolean poll(Downcall down)
           
 void postMarshal(Downcall down)
           
 void postUnmarshal(Downcall down)
           
 OutputStream preMarshal(Downcall down)
           
 InputStream preUnmarshal(Downcall down)
           
 InputStream preUnmarshal(Downcall down, BooleanHolder uex)
           
 void request(Downcall down)
           
 void response(Downcall down)
           
 CodeConverters setupPollingRequest(ServiceContextListHolder sclHolder, OutputStreamHolder out)
           
 OutputStream setupRequest(Object self, String operation, boolean responseExpected)
           
 void setUserException(Downcall down, UserException ex)
           
 void setUserException(Downcall down, UserException ex, String exId)
           
 void unmarshalEx(Downcall down, SystemException ex)
           
 String unmarshalExceptionId(Downcall down)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DowncallStub

public DowncallStub(ORBInstance orbInstance,
                    IOR ior,
                    IOR origIOR,
                    RefCountPolicyList policies)
Method Detail

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

createDowncall

public Downcall createDowncall(String op,
                               boolean resp)
                        throws FailureException
Throws:
FailureException

createLocateRequestDowncall

public Downcall createLocateRequestDowncall()
                                     throws FailureException
Throws:
FailureException

createPIArgsDowncall

public Downcall createPIArgsDowncall(String op,
                                     boolean resp,
                                     ParameterDesc[] argDesc,
                                     ParameterDesc retDesc,
                                     TypeCode[] exceptionTC)
                              throws FailureException
Throws:
FailureException

createPIDIIDowncall

public Downcall createPIDIIDowncall(String op,
                                    boolean resp,
                                    NVList args,
                                    NamedValue result,
                                    ExceptionList exceptions)
                             throws FailureException
Throws:
FailureException

preMarshal

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

marshalEx

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

postMarshal

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

locate

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

request

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

oneway

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

deferred

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

response

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

poll

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

preUnmarshal

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

preUnmarshal

public InputStream preUnmarshal(Downcall down,
                                BooleanHolder uex)
                         throws LocationForward,
                                FailureException
Throws:
LocationForward
FailureException

unmarshalEx

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

postUnmarshal

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

unmarshalExceptionId

public String unmarshalExceptionId(Downcall down)

setUserException

public void setUserException(Downcall down,
                             UserException ex,
                             String exId)

setUserException

public void setUserException(Downcall down,
                             UserException ex)

handleFailureException

public void handleFailureException(Downcall down,
                                   FailureException ex)
                            throws FailureException
Throws:
FailureException

locate_request

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

get_oci_connector_info

public ConnectorInfo get_oci_connector_info()

get_oci_transport_info

public TransportInfo get_oci_transport_info()

setupRequest

public OutputStream setupRequest(Object self,
                                 String operation,
                                 boolean responseExpected)
                          throws LocationForward,
                                 FailureException
Throws:
LocationForward
FailureException

setupPollingRequest

public CodeConverters setupPollingRequest(ServiceContextListHolder sclHolder,
                                          OutputStreamHolder out)
                                   throws FailureException
Throws:
FailureException

AMIRouterPreMarshal

public GIOPOutgoingMessage AMIRouterPreMarshal(String operation,
                                               boolean responseExpected,
                                               OutputStreamHolder out,
                                               ProfileInfoHolder info)
                                        throws FailureException
Throws:
FailureException

AMIRouterPostMarshal

public void AMIRouterPostMarshal(GIOPOutgoingMessage outgoing,
                                 OutputStreamHolder out)

invoke

public InputStream invoke(Object self,
                          OutputStream out)
                   throws ApplicationException,
                          RemarshalException,
                          LocationForward,
                          FailureException
Throws:
ApplicationException
RemarshalException
LocationForward
FailureException

getAMIPollTarget

public Object getAMIPollTarget()

ami_poll_request

public PersistentRequest ami_poll_request(OutputStream out,
                                          String operation,
                                          ServiceContext[] scl)
                                   throws RemarshalException
Throws:
RemarshalException

ami_callback_request

public boolean ami_callback_request(OutputStream out,
                                    ReplyHandler reply,
                                    ProfileInfo info)
                             throws RemarshalException
Throws:
RemarshalException

_OB_closeConnection

public void _OB_closeConnection(boolean terminate)

_OB_getORBInstance

public ORBInstance _OB_getORBInstance()


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