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.protocols.urp; 25cdf0e10cSrcweir 26cdf0e10cSrcweir import com.sun.star.lib.uno.environments.remote.Message; 27cdf0e10cSrcweir import com.sun.star.lib.uno.environments.remote.ThreadId; 28cdf0e10cSrcweir import com.sun.star.uno.IMethodDescription; 29cdf0e10cSrcweir import com.sun.star.uno.ITypeDescription; 30cdf0e10cSrcweir import com.sun.star.uno.XCurrentContext; 31cdf0e10cSrcweir 32cdf0e10cSrcweir final class UrpMessage extends Message { UrpMessage( ThreadId threadId, boolean request, String objectId, ITypeDescription type, IMethodDescription method, boolean synchronous, XCurrentContext currentContext, boolean abnormalTermination, Object result, Object[] arguments, boolean internal)33cdf0e10cSrcweir public UrpMessage( 34cdf0e10cSrcweir ThreadId threadId, boolean request, String objectId, 35cdf0e10cSrcweir ITypeDescription type, IMethodDescription method, boolean synchronous, 36cdf0e10cSrcweir XCurrentContext currentContext, boolean abnormalTermination, 37cdf0e10cSrcweir Object result, Object[] arguments, boolean internal) 38cdf0e10cSrcweir { 39cdf0e10cSrcweir super( 40cdf0e10cSrcweir threadId, request, objectId, type, method, synchronous, 41cdf0e10cSrcweir currentContext, abnormalTermination, result, arguments); 42cdf0e10cSrcweir this.internal = internal; 43cdf0e10cSrcweir } 44cdf0e10cSrcweir isInternal()45cdf0e10cSrcweir public boolean isInternal() { 46cdf0e10cSrcweir return internal; 47cdf0e10cSrcweir } 48cdf0e10cSrcweir 49cdf0e10cSrcweir private final boolean internal; 50cdf0e10cSrcweir } 51