feat(jdk8): move files to new folder to avoid resources compiled.
This commit is contained in:
67
jdkSrc/jdk8/com/sun/pept/Delegate.java
Normal file
67
jdkSrc/jdk8/com/sun/pept/Delegate.java
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "Delegate.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept;
|
||||
|
||||
import com.sun.pept.presentation.MessageStruct;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface Delegate {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a MessageStruct with ...
|
||||
* </p>
|
||||
*/
|
||||
public MessageStruct getMessageStruct();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param message ...
|
||||
* </p>
|
||||
*/
|
||||
public void send(MessageStruct message);
|
||||
|
||||
} // end Delegate
|
||||
69
jdkSrc/jdk8/com/sun/pept/encoding/Decoder.java
Normal file
69
jdkSrc/jdk8/com/sun/pept/encoding/Decoder.java
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "Decoder.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.encoding;
|
||||
|
||||
import com.sun.pept.ept.MessageInfo;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface Decoder {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public void decode(MessageInfo messageInfo);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public void receiveAndDecode(MessageInfo messageInfo);
|
||||
|
||||
} // end Decoder
|
||||
70
jdkSrc/jdk8/com/sun/pept/encoding/Encoder.java
Normal file
70
jdkSrc/jdk8/com/sun/pept/encoding/Encoder.java
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "Encoder.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.encoding;
|
||||
|
||||
import com.sun.pept.ept.MessageInfo;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Arun Gupta
|
||||
* </p>
|
||||
*/
|
||||
public interface Encoder {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public void encodeAndSend(MessageInfo messageInfo);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a ByteBuffer with ...
|
||||
* </p><p>
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public ByteBuffer encode(MessageInfo messageInfo);
|
||||
|
||||
} // end Encoder
|
||||
54
jdkSrc/jdk8/com/sun/pept/ept/Acceptor.java
Normal file
54
jdkSrc/jdk8/com/sun/pept/ept/Acceptor.java
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "Acceptor.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.ept;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface Acceptor extends EPTFactory {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void accept();
|
||||
|
||||
} // end Acceptor
|
||||
58
jdkSrc/jdk8/com/sun/pept/ept/ContactInfo.java
Normal file
58
jdkSrc/jdk8/com/sun/pept/ept/ContactInfo.java
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "ContactInfo.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.ept;
|
||||
|
||||
import com.sun.pept.transport.Connection;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface ContactInfo extends EPTFactory {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Connection with ...
|
||||
* </p><p>
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public Connection getConnection(MessageInfo messageInfo);
|
||||
|
||||
} // end ContactInfo
|
||||
55
jdkSrc/jdk8/com/sun/pept/ept/ContactInfoList.java
Normal file
55
jdkSrc/jdk8/com/sun/pept/ept/ContactInfoList.java
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "ContactInfoList.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.ept;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface ContactInfoList {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a ContactInfoListIterator with ...
|
||||
* </p>
|
||||
*/
|
||||
public ContactInfoListIterator iterator();
|
||||
|
||||
} // end ContactInfoList
|
||||
64
jdkSrc/jdk8/com/sun/pept/ept/ContactInfoListIterator.java
Normal file
64
jdkSrc/jdk8/com/sun/pept/ept/ContactInfoListIterator.java
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "ContactInfoListIterator.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.ept;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface ContactInfoListIterator {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a boolean with ...
|
||||
* </p>
|
||||
*/
|
||||
public boolean hasNext();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a ContactInfo with ...
|
||||
* </p>
|
||||
*/
|
||||
public ContactInfo next();
|
||||
|
||||
} // end ContactInfoListIterator
|
||||
106
jdkSrc/jdk8/com/sun/pept/ept/EPTFactory.java
Normal file
106
jdkSrc/jdk8/com/sun/pept/ept/EPTFactory.java
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "EPTFactory.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.ept;
|
||||
|
||||
import com.sun.pept.encoding.Decoder;
|
||||
import com.sun.pept.encoding.Encoder;
|
||||
import com.sun.pept.presentation.TargetFinder;
|
||||
import com.sun.pept.protocol.Interceptors;
|
||||
import com.sun.pept.protocol.MessageDispatcher;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface EPTFactory {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a MessageDispatcher with ...
|
||||
* </p><p>
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public MessageDispatcher getMessageDispatcher(MessageInfo messageInfo);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Encoder with ...
|
||||
* </p><p>
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public Encoder getEncoder(MessageInfo messageInfo);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Decoder with ...
|
||||
* </p><p>
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public Decoder getDecoder(MessageInfo messageInfo);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Interceptors with ...
|
||||
* </p><p>
|
||||
* @param x ...
|
||||
* </p>
|
||||
*/
|
||||
public Interceptors getInterceptors(MessageInfo x);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a TargetFinder with ...
|
||||
* </p><p>
|
||||
* @param x ...
|
||||
* </p>
|
||||
*/
|
||||
public TargetFinder getTargetFinder(MessageInfo x);
|
||||
|
||||
} // end EPTFactory
|
||||
151
jdkSrc/jdk8/com/sun/pept/ept/MessageInfo.java
Normal file
151
jdkSrc/jdk8/com/sun/pept/ept/MessageInfo.java
Normal file
@@ -0,0 +1,151 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "MessageInfo.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.ept;
|
||||
|
||||
import com.sun.pept.encoding.Decoder;
|
||||
import com.sun.pept.encoding.Encoder;
|
||||
import com.sun.pept.presentation.MessageStruct;
|
||||
import com.sun.pept.protocol.MessageDispatcher;
|
||||
import com.sun.pept.transport.Connection;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface MessageInfo extends MessageStruct {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a EPTFactory with ...
|
||||
* </p>
|
||||
*/
|
||||
public EPTFactory getEPTFactory();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a MessageDispatcher with ...
|
||||
* </p>
|
||||
*/
|
||||
public MessageDispatcher getMessageDispatcher();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Encoder with ...
|
||||
* </p>
|
||||
*/
|
||||
public Encoder getEncoder();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Decoder with ...
|
||||
* </p>
|
||||
*/
|
||||
public Decoder getDecoder();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Connection with ...
|
||||
* </p>
|
||||
*/
|
||||
public Connection getConnection();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param eptFactory ...
|
||||
* </p>
|
||||
*/
|
||||
public void setEPTFactory(EPTFactory eptFactory);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param messageDispatcher ...
|
||||
* </p>
|
||||
*/
|
||||
public void setMessageDispatcher(MessageDispatcher messageDispatcher);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param encoder ...
|
||||
* </p>
|
||||
*/
|
||||
public void setEncoder(Encoder encoder);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param decoder ...
|
||||
* </p>
|
||||
*/
|
||||
public void setDecoder(Decoder decoder);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param connection ...
|
||||
* </p>
|
||||
*/
|
||||
public void setConnection(Connection connection);
|
||||
|
||||
} // end MessageInfo
|
||||
223
jdkSrc/jdk8/com/sun/pept/presentation/MessageStruct.java
Normal file
223
jdkSrc/jdk8/com/sun/pept/presentation/MessageStruct.java
Normal file
@@ -0,0 +1,223 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "MessageStruct.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.presentation;
|
||||
|
||||
import java.util.*;
|
||||
import java.lang.reflect.Method;
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface MessageStruct {
|
||||
|
||||
///////////////////////////////////////
|
||||
//attributes
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Represents ...
|
||||
* </p>
|
||||
*/
|
||||
public static final int NORMAL_RESPONSE = 0;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Represents ...
|
||||
* </p>
|
||||
*/
|
||||
public static final int CHECKED_EXCEPTION_RESPONSE = 1;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Represents ...
|
||||
* </p>
|
||||
*/
|
||||
public static final int UNCHECKED_EXCEPTION_RESPONSE = 2;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Represents ...
|
||||
* </p>
|
||||
*/
|
||||
public static final int REQUEST_RESPONSE_MEP = 1;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Represents ...
|
||||
* </p>
|
||||
*/
|
||||
public static final int ONE_WAY_MEP = 2;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Represents ...
|
||||
* </p>
|
||||
*/
|
||||
public static final int ASYNC_POLL_MEP = 3;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Represents ...
|
||||
* </p>
|
||||
*/
|
||||
public static final int ASYNC_CALLBACK_MEP = 4;
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @param data ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setData(Object[] data);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Object[] with ...
|
||||
* </p>
|
||||
*/
|
||||
public Object[] getData();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param name ...
|
||||
* </p><p>
|
||||
* @param value ...
|
||||
* </p>
|
||||
*/
|
||||
public void setMetaData(Object name, Object value);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Object with ...
|
||||
* </p><p>
|
||||
* @param name ...
|
||||
* </p>
|
||||
*/
|
||||
public Object getMetaData(Object name);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param messageExchangePattern ...
|
||||
* </p>
|
||||
*/
|
||||
public void setMEP(int messageExchangePattern);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a int with ...
|
||||
* </p>
|
||||
*/
|
||||
public int getMEP();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a int with ...
|
||||
* </p>
|
||||
*/
|
||||
public int getResponseType();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param responseType ...
|
||||
* </p>
|
||||
*/
|
||||
public void setResponseType(int responseType);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Object with ...
|
||||
* </p>
|
||||
*/
|
||||
public Object getResponse();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param response ...
|
||||
* </p>
|
||||
*/
|
||||
public void setResponse(Object response);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param method ...
|
||||
* </p>
|
||||
*/
|
||||
public void setMethod(Method method);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Method with ...
|
||||
* </p>
|
||||
*/
|
||||
public Method getMethod();
|
||||
|
||||
} // end MessageStruct
|
||||
67
jdkSrc/jdk8/com/sun/pept/presentation/Stub.java
Normal file
67
jdkSrc/jdk8/com/sun/pept/presentation/Stub.java
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "Stub.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.presentation;
|
||||
|
||||
import com.sun.pept.Delegate;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface Stub {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param delegate ...
|
||||
* </p>
|
||||
*/
|
||||
public void _setDelegate(Delegate delegate);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Delegate with ...
|
||||
* </p>
|
||||
*/
|
||||
public Delegate _getDelegate();
|
||||
|
||||
} // end Stub
|
||||
58
jdkSrc/jdk8/com/sun/pept/presentation/TargetFinder.java
Normal file
58
jdkSrc/jdk8/com/sun/pept/presentation/TargetFinder.java
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "TargetFinder.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.presentation;
|
||||
|
||||
import com.sun.pept.ept.MessageInfo;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface TargetFinder {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Tie with ...
|
||||
* </p><p>
|
||||
* @param x ...
|
||||
* </p>
|
||||
*/
|
||||
public Tie findTarget(MessageInfo x);
|
||||
|
||||
} // end TargetFinder
|
||||
78
jdkSrc/jdk8/com/sun/pept/presentation/Tie.java
Normal file
78
jdkSrc/jdk8/com/sun/pept/presentation/Tie.java
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/** Java interface "Tie.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.presentation;
|
||||
|
||||
import com.sun.pept.ept.MessageInfo;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface Tie {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param servant ...
|
||||
* </p>
|
||||
*/
|
||||
public void _setServant(Object servant);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a Object with ...
|
||||
* </p>
|
||||
*/
|
||||
public Object _getServant();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public void _invoke(MessageInfo messageInfo);
|
||||
|
||||
} // end Tie
|
||||
62
jdkSrc/jdk8/com/sun/pept/protocol/Interceptors.java
Normal file
62
jdkSrc/jdk8/com/sun/pept/protocol/Interceptors.java
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* $Id: Interceptors.java,v 1.1 2005/05/23 22:09:18 bbissett Exp $
|
||||
*/
|
||||
|
||||
/** Java interface "Interceptors.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.protocol;
|
||||
|
||||
import com.sun.pept.ept.MessageInfo;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface Interceptors {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public void interceptMessage(MessageInfo messageInfo);
|
||||
|
||||
} // end Interceptors
|
||||
73
jdkSrc/jdk8/com/sun/pept/protocol/MessageDispatcher.java
Normal file
73
jdkSrc/jdk8/com/sun/pept/protocol/MessageDispatcher.java
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* $Id: MessageDispatcher.java,v 1.1 2005/05/23 22:09:18 bbissett Exp $
|
||||
*/
|
||||
|
||||
/** Java interface "MessageDispatcher.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.protocol;
|
||||
|
||||
import com.sun.pept.ept.MessageInfo;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface MessageDispatcher {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public void send(MessageInfo messageInfo);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param messageInfo ...
|
||||
* </p>
|
||||
*/
|
||||
public void receive(MessageInfo messageInfo);
|
||||
|
||||
} // end MessageDispatcher
|
||||
91
jdkSrc/jdk8/com/sun/pept/transport/Connection.java
Normal file
91
jdkSrc/jdk8/com/sun/pept/transport/Connection.java
Normal file
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* $Id: Connection.java,v 1.2 2005/07/23 04:09:58 kohlert Exp $
|
||||
*/
|
||||
|
||||
/** Java interface "Connection.java" generated from Poseidon for UML.
|
||||
* Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
|
||||
* Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
|
||||
*/
|
||||
package com.sun.pept.transport;
|
||||
|
||||
import com.sun.pept.ept.EPTFactory;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* @author Dr. Harold Carr
|
||||
* </p>
|
||||
*/
|
||||
public interface Connection {
|
||||
|
||||
///////////////////////////////////////
|
||||
// operations
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p><p>
|
||||
*
|
||||
* @param byteBuffer ...
|
||||
* </p>
|
||||
*/
|
||||
public void write(ByteBuffer byteBuffer);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a EPTFactory with ...
|
||||
* </p>
|
||||
*/
|
||||
public EPTFactory getEPTFactory();
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* @return a int with ...
|
||||
* </p><p>
|
||||
* @param byteBuffer ...
|
||||
* </p>
|
||||
*/
|
||||
public int read(ByteBuffer byteBuffer);
|
||||
/**
|
||||
* <p>
|
||||
* Does ...
|
||||
* </p><p>
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public ByteBuffer readUntilEnd();
|
||||
|
||||
} // end Connection
|
||||
Reference in New Issue
Block a user