Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/classes/com/sun/pept/presentation/MessageStruct.java
38923 views
/*1* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425/** Java interface "MessageStruct.java" generated from Poseidon for UML.26* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.27* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.28*/29package com.sun.pept.presentation;3031import java.util.*;32import java.lang.reflect.Method;33/**34* <p>35*36* @author Dr. Harold Carr37* </p>38*/39public interface MessageStruct {4041///////////////////////////////////////42//attributes434445/**46* <p>47* Represents ...48* </p>49*/50public static final int NORMAL_RESPONSE = 0;5152/**53* <p>54* Represents ...55* </p>56*/57public static final int CHECKED_EXCEPTION_RESPONSE = 1;5859/**60* <p>61* Represents ...62* </p>63*/64public static final int UNCHECKED_EXCEPTION_RESPONSE = 2;6566/**67* <p>68* Represents ...69* </p>70*/71public static final int REQUEST_RESPONSE_MEP = 1;7273/**74* <p>75* Represents ...76* </p>77*/78public static final int ONE_WAY_MEP = 2;7980/**81* <p>82* Represents ...83* </p>84*/85public static final int ASYNC_POLL_MEP = 3;8687/**88* <p>89* Represents ...90* </p>91*/92public static final int ASYNC_CALLBACK_MEP = 4;9394///////////////////////////////////////95// operations9697/**98* <p>99* Does ...100* </p><p>101*102* @param data ...103* </p><p>104*105* </p>106*/107public void setData(Object[] data);108/**109* <p>110* Does ...111* </p><p>112*113* @return a Object[] with ...114* </p>115*/116public Object[] getData();117/**118* <p>119* Does ...120* </p><p>121*122* </p><p>123*124* @param name ...125* </p><p>126* @param value ...127* </p>128*/129public void setMetaData(Object name, Object value);130/**131* <p>132* Does ...133* </p><p>134*135* @return a Object with ...136* </p><p>137* @param name ...138* </p>139*/140public Object getMetaData(Object name);141/**142* <p>143* Does ...144* </p><p>145*146* </p><p>147*148* @param messageExchangePattern ...149* </p>150*/151public void setMEP(int messageExchangePattern);152/**153* <p>154* Does ...155* </p><p>156*157* @return a int with ...158* </p>159*/160public int getMEP();161/**162* <p>163* Does ...164* </p><p>165*166* @return a int with ...167* </p>168*/169public int getResponseType();170/**171* <p>172* Does ...173* </p><p>174*175* </p><p>176*177* @param responseType ...178* </p>179*/180public void setResponseType(int responseType);181/**182* <p>183* Does ...184* </p><p>185*186* @return a Object with ...187* </p>188*/189public Object getResponse();190/**191* <p>192* Does ...193* </p><p>194*195* </p><p>196*197* @param response ...198* </p>199*/200public void setResponse(Object response);201/**202* <p>203* Does ...204* </p><p>205*206* </p><p>207*208* @param method ...209* </p>210*/211public void setMethod(Method method);212/**213* <p>214* Does ...215* </p><p>216*217* @return a Method with ...218* </p>219*/220public Method getMethod();221222} // end MessageStruct223224225