All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.visigenic.vbroker.interceptor.BindInterceptor

public interface BindInterceptor

IDL definition:
interface BindInterceptor {
boolean bind(
inout ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);
boolean bind_failed(
inout ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);
void bind_succeeded(
in ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);
boolean rebind(
inout ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);
boolean rebind_failed(
inout ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);
void rebind_succeeded(
in ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);
void exception_occurred(
in ::IOP::IOR ior,
in Object object,
in ::CORBA::Environment env,
in ::interceptor::Closure closure
);
};

A BindInterceptor is called by the ORB during each bind and rebind operation.


Method Index

 o bind(IORHolder, Object, Closure)
Called during all ORB bind operations.
 o bind_failed(IORHolder, Object, Closure)
Called if a bind operation failed.
 o bind_succeeded(IOR, Object, Closure)
Called if a bind operation succeeded.
 o exception_occurred(IOR, Object, Environment, Closure)

Operation: ::interceptor::BindInterceptor::exception_occurred.

 o rebind(IORHolder, Object, Closure)
Called during all ORB rebind operations.
 o rebind_failed(IORHolder, Object, Closure)
Called if a rebind operation failed.
 o rebind_succeeded(IOR, Object, Closure)
Called if a rebind operation succeeded.

Methods

 o bind
 public abstract boolean bind(IORHolder ior,
                              Object object,
                              Closure closure)
Called during all ORB bind operations.

Operation: ::interceptor::BindInterceptor::bind.

boolean bind(
inout ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);

Parameters:
ior - The IOR of the server object to which the client is binding.
object - The client object which is being bound to the server. The object will not be properly initialized at this time so no operation on the object should be attempted. It may however, be stored in a data structure and used after the bind has completed.
closure - A new closure object for the bind operation. The closure will be used in corresponding call to either bind_failed or bind_succeeded.
Returns:
Returns true if the ior argument was changed and should be used instead of the IOR provided by the ORB.
 o bind_failed
 public abstract boolean bind_failed(IORHolder ior,
                                     Object object,
                                     Closure closure)
Called if a bind operation failed.

Operation: ::interceptor::BindInterceptor::bind_failed.

boolean bind_failed(
inout ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);

Parameters:
ior - The IOR of the server object on which the bind operation failed.
object - The client object which is being bound to the server.
closure - The closure object previously given in the bind call.
Returns:
Returns true if the ior argument was changed and the bind should be reattempted.
 o bind_succeeded
 public abstract void bind_succeeded(IOR ior,
                                     Object object,
                                     Closure closure)
Called if a bind operation succeeded.

Operation: ::interceptor::BindInterceptor::bind_succeeded.

void bind_succeeded(
in ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);

Parameters:
ior - The IOR of the the server object on which the bind operation succeeded.
object - The client object which is being bound to the server.
closure - The closure object previously given in the bind call.
 o rebind
 public abstract boolean rebind(IORHolder ior,
                                Object object,
                                Closure closure)
Called during all ORB rebind operations.

Operation: ::interceptor::BindInterceptor::rebind.

boolean rebind(
inout ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);

Parameters:
ior - The IOR of the server object to which the client is rebinding.
object - The client object which is being bound to the server. The object will not be properly initialized at this time so no operation on the object should be attempted. It may however, be stored in a data structure and used after the bind has completed.
closure - A new closure object for the rebind operation. The closure will be used in corresponding call to either rebind_failed or rebind_succeeded.
Returns:
Returns true if the ior argument was changed and should be used instead of the IOR provided by the ORB.
 o rebind_failed
 public abstract boolean rebind_failed(IORHolder ior,
                                       Object object,
                                       Closure closure)
Called if a rebind operation failed.

Operation: ::interceptor::BindInterceptor::rebind_failed.

boolean rebind_failed(
inout ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);

Parameters:
ior - The IOR of the server object on which the rebind operation failed.
object - The client object which is being bound to the server.
closure - The closure object previously given in the rebind call.
Returns:
Returns true if the ior argument was changed and the bind should be reattempted.
 o rebind_succeeded
 public abstract void rebind_succeeded(IOR ior,
                                       Object object,
                                       Closure closure)
Called if a rebind operation succeeded.

Operation: ::interceptor::BindInterceptor::rebind_succeeded.

void rebind_succeeded(
in ::IOP::IOR ior,
in Object object,
in ::interceptor::Closure closure
);

Parameters:
ior - The IOR of the the server object on which the rebind operation succeeded.
object - The client object which is being bound to the server.
closure - The closure object previously given in the rebind call.
 o exception_occurred
 public abstract void exception_occurred(IOR ior,
                                         Object object,
                                         Environment env,
                                         Closure closure)

Operation: ::interceptor::BindInterceptor::exception_occurred.

void exception_occurred(
in ::IOP::IOR ior,
in Object object,
in ::CORBA::Environment env,
in ::interceptor::Closure closure
);


All Packages  Class Hierarchy  This Package  Previous  Next  Index