1*2be43276SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*2be43276SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*2be43276SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*2be43276SAndrew Rist * distributed with this work for additional information 6*2be43276SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*2be43276SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*2be43276SAndrew Rist * "License"); you may not use this file except in compliance 9*2be43276SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*2be43276SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*2be43276SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*2be43276SAndrew Rist * software distributed under the License is distributed on an 15*2be43276SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*2be43276SAndrew Rist * KIND, either express or implied. See the License for the 17*2be43276SAndrew Rist * specific language governing permissions and limitations 18*2be43276SAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*2be43276SAndrew Rist *************************************************************/ 21*2be43276SAndrew Rist 22*2be43276SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir package com.sun.star.lib.uno.environments.remote; 25cdf0e10cSrcweir 26cdf0e10cSrcweir /** 27cdf0e10cSrcweir * An abstraction for giving back a reply for a request. 28cdf0e10cSrcweir * 29cdf0e10cSrcweir * @version $Revision: 1.6 $ $ $Date: 2008-04-11 11:19:43 $ 30cdf0e10cSrcweir * @author Kay Ramme 31cdf0e10cSrcweir * @see com.sun.star.uno.IQueryInterface 32cdf0e10cSrcweir */ 33cdf0e10cSrcweir public interface IReceiver { 34cdf0e10cSrcweir /** 35cdf0e10cSrcweir * Send back a reply for a request. 36cdf0e10cSrcweir * 37cdf0e10cSrcweir * @param exception <CODE>true</CODE> if an exception (instead of a normal 38cdf0e10cSrcweir * result) is sent back. 39cdf0e10cSrcweir * @param threadId the thread ID of the request. 40cdf0e10cSrcweir * @param result the result of executing the request, or an exception thrown 41cdf0e10cSrcweir * while executing the request. 42cdf0e10cSrcweir */ sendReply(boolean exception, ThreadId threadId, Object result)43cdf0e10cSrcweir void sendReply(boolean exception, ThreadId threadId, Object result); 44cdf0e10cSrcweir } 45