0N/A/*
2362N/A * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/A/** Java interface "MessageStruct.java" generated from Poseidon for UML.
0N/A * Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
0N/A * Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
0N/A */
0N/Apackage com.sun.pept.presentation;
0N/A
0N/Aimport java.util.*;
0N/Aimport java.lang.reflect.Method;
0N/A/**
0N/A * <p>
0N/A *
0N/A * @author Dr. Harold Carr
0N/A * </p>
0N/A */
0N/Apublic interface MessageStruct {
0N/A
0N/A ///////////////////////////////////////
0N/A //attributes
0N/A
0N/A
0N/A/**
0N/A * <p>
0N/A * Represents ...
0N/A * </p>
0N/A */
0N/A public static final int NORMAL_RESPONSE = 0;
0N/A
0N/A/**
0N/A * <p>
0N/A * Represents ...
0N/A * </p>
0N/A */
0N/A public static final int CHECKED_EXCEPTION_RESPONSE = 1;
0N/A
0N/A/**
0N/A * <p>
0N/A * Represents ...
0N/A * </p>
0N/A */
0N/A public static final int UNCHECKED_EXCEPTION_RESPONSE = 2;
0N/A
0N/A/**
0N/A * <p>
0N/A * Represents ...
0N/A * </p>
0N/A */
0N/A public static final int REQUEST_RESPONSE_MEP = 1;
0N/A
0N/A/**
0N/A * <p>
0N/A * Represents ...
0N/A * </p>
0N/A */
0N/A public static final int ONE_WAY_MEP = 2;
0N/A
0N/A/**
0N/A * <p>
0N/A * Represents ...
0N/A * </p>
0N/A */
0N/A public static final int ASYNC_POLL_MEP = 3;
0N/A
0N/A/**
0N/A * <p>
0N/A * Represents ...
0N/A * </p>
0N/A */
0N/A public static final int ASYNC_CALLBACK_MEP = 4;
0N/A
0N/A ///////////////////////////////////////
0N/A // operations
0N/A
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * @param data ...
0N/A * </p><p>
0N/A *
0N/A * </p>
0N/A */
0N/A public void setData(Object[] data);
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * @return a Object[] with ...
0N/A * </p>
0N/A */
0N/A public Object[] getData();
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * </p><p>
0N/A *
0N/A * @param name ...
0N/A * </p><p>
0N/A * @param value ...
0N/A * </p>
0N/A */
0N/A public void setMetaData(Object name, Object value);
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * @return a Object with ...
0N/A * </p><p>
0N/A * @param name ...
0N/A * </p>
0N/A */
0N/A public Object getMetaData(Object name);
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * </p><p>
0N/A *
0N/A * @param messageExchangePattern ...
0N/A * </p>
0N/A */
0N/A public void setMEP(int messageExchangePattern);
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * @return a int with ...
0N/A * </p>
0N/A */
0N/A public int getMEP();
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * @return a int with ...
0N/A * </p>
0N/A */
0N/A public int getResponseType();
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * </p><p>
0N/A *
0N/A * @param responseType ...
0N/A * </p>
0N/A */
0N/A public void setResponseType(int responseType);
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * @return a Object with ...
0N/A * </p>
0N/A */
0N/A public Object getResponse();
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * </p><p>
0N/A *
0N/A * @param response ...
0N/A * </p>
0N/A */
0N/A public void setResponse(Object response);
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * </p><p>
0N/A *
0N/A * @param method ...
0N/A * </p>
0N/A */
0N/A public void setMethod(Method method);
0N/A/**
0N/A * <p>
0N/A * Does ...
0N/A * </p><p>
0N/A *
0N/A * @return a Method with ...
0N/A * </p>
0N/A */
0N/A public Method getMethod();
0N/A
0N/A} // end MessageStruct