VisiBroker for Java

com.inprise.vbroker.interceptor
Class ChainClientInterceptorAdapter

java.lang.Object
  extended by com.inprise.vbroker.interceptor.ChainClientInterceptorAdapter
All Implemented Interfaces:
com.inprise.vbroker.GIOP.GIOPProtocolConnector, com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter, com.inprise.vbroker.IOP.Constants, com.inprise.vbroker.ProtocolEngine.LocalConnector, com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector, com.inprise.vbroker.ProtocolEngine.ProtocolConnector, java.io.Serializable, IDLEntity

public class ChainClientInterceptorAdapter
extends java.lang.Object
implements com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter, com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector, com.inprise.vbroker.GIOP.GIOPProtocolConnector, com.inprise.vbroker.ProtocolEngine.LocalConnector, com.inprise.vbroker.IOP.Constants

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector
com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector.ReplyHandler
 
Field Summary
 
Fields inherited from interface com.inprise.vbroker.IOP.Constants
EMPTY_SERVICE_CONTEXT_LIST, UNKNOWN_EXCEPTION_INFO, UNKNOWN_EXCEPTION_TRACE
 
Constructor Summary
ChainClientInterceptorAdapter(ORB orb, Object target, com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter[] adapters, com.inprise.vbroker.ProtocolEngine.ProtocolConnector connector)
           
 
Method Summary
 void cancel_request(com.inprise.vbroker.ProtocolEngine.RequestMessage request, long timeout)
           
 void destroy()
           
 void exception_in_chain(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage get_domain_managers(Object self)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage get_domain_managers(Object self, long send_timeout, long reply_timeout)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage get_interface(Object self)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage get_interface(Object self, long send_timeout, long reply_timeout)
           
 com.inprise.vbroker.ProtocolEngine.ManagedClientEngineBid getBid()
           
 com.inprise.vbroker.ProtocolEngine.ProtocolConnection getConnection()
           
 int getRequestId()
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage invoke(com.inprise.vbroker.ProtocolEngine.RequestMessage request, long sendTimeout, long receiveTimeout)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage is_a(Object self, java.lang.String repId)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage is_a(Object self, java.lang.String repId, long send_timeout, long reply_timeout)
           
 boolean isLocal()
           
 DomainManager[] local_get_domain_managers(Object self)
           
 Object local_get_interface_def(Object self)
           
 boolean local_is_a(Object self, java.lang.String id)
           
 boolean local_non_existent(Object self)
           
 Object local_resolve_reference(Object self, java.lang.String id)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage non_existent(Object self)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage non_existent(Object self, long send_timeout, long reply_timeout)
           
 boolean poll_reply(com.inprise.vbroker.ProtocolEngine.RequestMessage request)
           
 void postinvoke(com.inprise.vbroker.orb.ServerThreadInfo info)
           
 void postinvoke(com.inprise.vbroker.interceptor.VBIClientRequestInfo vbiInfo)
           
 ServantObject preinvoke(java.lang.String operation)
           
 void prepare_request(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
           
 com.inprise.vbroker.GIOP.ProfileBodyValue profile()
           
 void rebindMode(short rebindMode)
           
 void receive_exception_or_other(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage receive_reply(com.inprise.vbroker.ProtocolEngine.RequestMessage request, long recv_timeout)
           
 void receive_reply(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
           
 void reconnect(long timeout)
           
 void request_sent(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
           
 com.inprise.vbroker.ProtocolEngine.RequestMessage request(boolean byteOrder, java.lang.String operation, byte responseExpected, ServiceContext[] serviceContexts, byte[] principal)
           
 com.inprise.vbroker.ProtocolEngine.RequestMessage request(RequestInfo info, java.lang.String operation, ServiceContext[] sc)
           
 com.inprise.vbroker.ProtocolEngine.RequestMessage request(java.lang.String operation, byte responseFlags, ServiceContext[] serviceContexts)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage resolve_reference(Object self, java.lang.String id)
           
 com.inprise.vbroker.ProtocolEngine.ReplyMessage resolve_reference(Object self, java.lang.String repId, long send_timeout, long reply_timeout)
           
 void send_message(com.inprise.vbroker.ProtocolEngine.RequestMessage request, long send_timeout)
           
 void send_message(com.inprise.vbroker.ProtocolEngine.RequestMessage request, com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector.ReplyHandler handler)
           
 void send_request(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
           
 com.inprise.vbroker.GIOP.Version version()
           
 void version(com.inprise.vbroker.GIOP.Version ver)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainClientInterceptorAdapter

public ChainClientInterceptorAdapter(ORB orb,
                                     Object target,
                                     com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter[] adapters,
                                     com.inprise.vbroker.ProtocolEngine.ProtocolConnector connector)
Method Detail

prepare_request

public void prepare_request(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
Specified by:
prepare_request in interface com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter

send_request

public void send_request(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
Specified by:
send_request in interface com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter

request_sent

public void request_sent(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
Specified by:
request_sent in interface com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter

receive_reply

public void receive_reply(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
Specified by:
receive_reply in interface com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter

receive_exception_or_other

public void receive_exception_or_other(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
Specified by:
receive_exception_or_other in interface com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter

exception_in_chain

public void exception_in_chain(com.inprise.vbroker.interceptor.VBIClientRequestInfo info)
Specified by:
exception_in_chain in interface com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter

destroy

public void destroy()
Specified by:
destroy in interface com.inprise.vbroker.InterceptorExt.ClientRequestInterceptorAdapter

reconnect

public void reconnect(long timeout)
Specified by:
reconnect in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

request

public com.inprise.vbroker.ProtocolEngine.RequestMessage request(java.lang.String operation,
                                                                 byte responseFlags,
                                                                 ServiceContext[] serviceContexts)
Specified by:
request in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

request

public com.inprise.vbroker.ProtocolEngine.RequestMessage request(boolean byteOrder,
                                                                 java.lang.String operation,
                                                                 byte responseExpected,
                                                                 ServiceContext[] serviceContexts,
                                                                 byte[] principal)
Specified by:
request in interface com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector

getRequestId

public int getRequestId()
Specified by:
getRequestId in interface com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector

request

public com.inprise.vbroker.ProtocolEngine.RequestMessage request(RequestInfo info,
                                                                 java.lang.String operation,
                                                                 ServiceContext[] sc)
Specified by:
request in interface com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector

send_message

public void send_message(com.inprise.vbroker.ProtocolEngine.RequestMessage request,
                         com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector.ReplyHandler handler)
Specified by:
send_message in interface com.inprise.vbroker.ProtocolEngine.MessageProtocolConnector

invoke

public com.inprise.vbroker.ProtocolEngine.ReplyMessage invoke(com.inprise.vbroker.ProtocolEngine.RequestMessage request,
                                                              long sendTimeout,
                                                              long receiveTimeout)
Specified by:
invoke in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

isLocal

public boolean isLocal()
Specified by:
isLocal in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

is_a

public com.inprise.vbroker.ProtocolEngine.ReplyMessage is_a(Object self,
                                                            java.lang.String repId)
Specified by:
is_a in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

is_a

public com.inprise.vbroker.ProtocolEngine.ReplyMessage is_a(Object self,
                                                            java.lang.String repId,
                                                            long send_timeout,
                                                            long reply_timeout)
Specified by:
is_a in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

non_existent

public com.inprise.vbroker.ProtocolEngine.ReplyMessage non_existent(Object self)
Specified by:
non_existent in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

non_existent

public com.inprise.vbroker.ProtocolEngine.ReplyMessage non_existent(Object self,
                                                                    long send_timeout,
                                                                    long reply_timeout)
Specified by:
non_existent in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

get_domain_managers

public com.inprise.vbroker.ProtocolEngine.ReplyMessage get_domain_managers(Object self)
Specified by:
get_domain_managers in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

get_domain_managers

public com.inprise.vbroker.ProtocolEngine.ReplyMessage get_domain_managers(Object self,
                                                                           long send_timeout,
                                                                           long reply_timeout)
Specified by:
get_domain_managers in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

get_interface

public com.inprise.vbroker.ProtocolEngine.ReplyMessage get_interface(Object self)
Specified by:
get_interface in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

get_interface

public com.inprise.vbroker.ProtocolEngine.ReplyMessage get_interface(Object self,
                                                                     long send_timeout,
                                                                     long reply_timeout)
Specified by:
get_interface in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

resolve_reference

public com.inprise.vbroker.ProtocolEngine.ReplyMessage resolve_reference(Object self,
                                                                         java.lang.String id)
Specified by:
resolve_reference in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

resolve_reference

public com.inprise.vbroker.ProtocolEngine.ReplyMessage resolve_reference(Object self,
                                                                         java.lang.String repId,
                                                                         long send_timeout,
                                                                         long reply_timeout)
Specified by:
resolve_reference in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

version

public com.inprise.vbroker.GIOP.Version version()
Specified by:
version in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

version

public void version(com.inprise.vbroker.GIOP.Version ver)
Specified by:
version in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

profile

public com.inprise.vbroker.GIOP.ProfileBodyValue profile()
Specified by:
profile in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

getConnection

public com.inprise.vbroker.ProtocolEngine.ProtocolConnection getConnection()
Specified by:
getConnection in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

getBid

public com.inprise.vbroker.ProtocolEngine.ManagedClientEngineBid getBid()
Specified by:
getBid in interface com.inprise.vbroker.GIOP.GIOPProtocolConnector

send_message

public void send_message(com.inprise.vbroker.ProtocolEngine.RequestMessage request,
                         long send_timeout)
Specified by:
send_message in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

receive_reply

public com.inprise.vbroker.ProtocolEngine.ReplyMessage receive_reply(com.inprise.vbroker.ProtocolEngine.RequestMessage request,
                                                                     long recv_timeout)
Specified by:
receive_reply in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

cancel_request

public void cancel_request(com.inprise.vbroker.ProtocolEngine.RequestMessage request,
                           long timeout)
Specified by:
cancel_request in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

poll_reply

public boolean poll_reply(com.inprise.vbroker.ProtocolEngine.RequestMessage request)
Specified by:
poll_reply in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

preinvoke

public ServantObject preinvoke(java.lang.String operation)
                        throws ForwardRequest
Specified by:
preinvoke in interface com.inprise.vbroker.ProtocolEngine.LocalConnector
Throws:
ForwardRequest

postinvoke

public void postinvoke(com.inprise.vbroker.interceptor.VBIClientRequestInfo vbiInfo)
Specified by:
postinvoke in interface com.inprise.vbroker.ProtocolEngine.LocalConnector

postinvoke

public void postinvoke(com.inprise.vbroker.orb.ServerThreadInfo info)
Specified by:
postinvoke in interface com.inprise.vbroker.ProtocolEngine.LocalConnector

local_is_a

public boolean local_is_a(Object self,
                          java.lang.String id)
                   throws ForwardRequest
Specified by:
local_is_a in interface com.inprise.vbroker.ProtocolEngine.LocalConnector
Throws:
ForwardRequest

local_non_existent

public boolean local_non_existent(Object self)
                           throws ForwardRequest
Specified by:
local_non_existent in interface com.inprise.vbroker.ProtocolEngine.LocalConnector
Throws:
ForwardRequest

local_get_interface_def

public Object local_get_interface_def(Object self)
                               throws ForwardRequest
Specified by:
local_get_interface_def in interface com.inprise.vbroker.ProtocolEngine.LocalConnector
Throws:
ForwardRequest

local_get_domain_managers

public DomainManager[] local_get_domain_managers(Object self)
                                          throws ForwardRequest
Specified by:
local_get_domain_managers in interface com.inprise.vbroker.ProtocolEngine.LocalConnector
Throws:
ForwardRequest

local_resolve_reference

public Object local_resolve_reference(Object self,
                                      java.lang.String id)
Specified by:
local_resolve_reference in interface com.inprise.vbroker.ProtocolEngine.LocalConnector

rebindMode

public void rebindMode(short rebindMode)
Specified by:
rebindMode in interface com.inprise.vbroker.ProtocolEngine.ProtocolConnector

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online