/[classpath]/classpath/org/omg/PortableInterceptor/ServerRequestInfoOperations.java
ViewVC logotype

Diff of /classpath/org/omg/PortableInterceptor/ServerRequestInfoOperations.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by gnu_andrew, Sat Sep 10 15:32:05 2005 UTC revision 1.1.2.2 by gnu_andrew, Sun Nov 27 21:00:42 2005 UTC
# Line 216  import org.omg.IOP.ServiceContext; Line 216  import org.omg.IOP.ServiceContext;
216   *   *
217   * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)   * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
218   */   */
219  public interface ServerRequestInfoOperations extends RequestInfoOperations  public interface ServerRequestInfoOperations
220      extends RequestInfoOperations
221  {  {
222    /**    /**
223     * Allows the interceptor to add service contexts to the request. Such added     * Allows the interceptor to add service contexts to the request. Such added
# Line 231  public interface ServerRequestInfoOperat Line 232  public interface ServerRequestInfoOperat
232     * @throws BAD_INV_ORDER minor 15 if the context with the same Id already     * @throws BAD_INV_ORDER minor 15 if the context with the same Id already
233     * exists and replace=false.     * exists and replace=false.
234     */     */
235    void add_reply_service_context(ServiceContext service_context,    void add_reply_service_context(ServiceContext service_context, boolean replace);
     boolean replace  
   );  
236    
237    /**    /**
238     * Get the identifier for the object adapter (POA).     * Get the identifier for the object adapter (POA).
# Line 257  public interface ServerRequestInfoOperat Line 256  public interface ServerRequestInfoOperat
256     * @throws INV_POLICY minor 2 if no factory was registered to produce this     * @throws INV_POLICY minor 2 if no factory was registered to produce this
257     * type of policy or the policy is otherwise invalid.     * type of policy or the policy is otherwise invalid.
258     */     */
259    Policy get_server_policy(int type) throws INV_POLICY;    Policy get_server_policy(int type)
260        throws INV_POLICY;
261    
262    /**    /**
263     * Get the exception to be returned to the client. If the returned Any cannot     * Get the exception to be returned to the client. If the returned Any cannot
264     * not support holding of that exception, it holds     * not support holding of that exception, it holds
265     * {@link org.omg.CORBA.UNKNOWN} minor 1 instead.     * {@link org.omg.CORBA.UNKNOWN} minor 1 instead.
266     *     *
267         * @return an Any, holding exception that has been thrown and will be returned     * @return an Any, holding exception that has been thrown and will be returned
268     * to client.     * to client.
269     */     */
270    Any sending_exception();    Any sending_exception();
# Line 281  public interface ServerRequestInfoOperat Line 281  public interface ServerRequestInfoOperat
281     * @see RequestInfoOperations#get_slot(int)     * @see RequestInfoOperations#get_slot(int)
282     * @see org.omg.PortableInterceptor#Current     * @see org.omg.PortableInterceptor#Current
283     */     */
284    void set_slot(int id, Any data) throws InvalidSlot;    void set_slot(int id, Any data)
285        throws InvalidSlot;
286    
287    /**    /**
288     * Checks if the servant is the given repository id.     * Checks if the servant is the given repository id.
# Line 299  public interface ServerRequestInfoOperat Line 300  public interface ServerRequestInfoOperat
300     * @return the repository id of the servant.     * @return the repository id of the servant.
301     */     */
302    String target_most_derived_interface();    String target_most_derived_interface();
303    
304      /**
305       * Returns the name of the adapter that is handling the current request.
306       * The name is returned as a string array, representing full path from
307       * the root poa till the current poa, for instance
308       * {"RootPOA", "childPOA","grandchildPOA"}.
309       */
310      public String[] adapter_name();
311    
312      /**
313       * Returns the id of the ORB that is handling the current request. The ORB
314       * id can be specified as the property org.omg.CORBA.ORBid when creating
315       * the ORB.
316       */
317      public String orb_id();
318    
319      /**
320       * Returs the id of the server that is handling the current request. The server
321       * id is the same for all POAs and ORBs in the current virtual machine and
322       * can be set as the property org.omg.CORBA.ServerId when creating one of the
323       * ORBs.
324       */
325      public String server_id();
326  }  }

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26