diff options
| author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-11 18:56:54 +0000 |
|---|---|---|
| committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-11 18:56:54 +0000 |
| commit | 92bd88b4f48c77bf7b44fec48e0a3886af89b68d (patch) | |
| tree | 00ffc394c1bfa93583200d07853c95907979397f /libjava/gnu/java/rmi | |
| parent | 37ce7288a5a04d9f705354c38f81d0b1a2942df9 (diff) | |
| download | ppe42-gcc-92bd88b4f48c77bf7b44fec48e0a3886af89b68d.tar.gz ppe42-gcc-92bd88b4f48c77bf7b44fec48e0a3886af89b68d.zip | |
2003-10-11 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/server/ProtocolConstants.java,
gnu/java/security/der/DER.java:
Removing redundant modifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72359 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/rmi')
| -rw-r--r-- | libjava/gnu/java/rmi/server/ProtocolConstants.java | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/libjava/gnu/java/rmi/server/ProtocolConstants.java b/libjava/gnu/java/rmi/server/ProtocolConstants.java index 735ca3d4a47..7837a8e5132 100644 --- a/libjava/gnu/java/rmi/server/ProtocolConstants.java +++ b/libjava/gnu/java/rmi/server/ProtocolConstants.java @@ -37,27 +37,26 @@ exception statement from your version. */ package gnu.java.rmi.server; -public interface ProtocolConstants { +public interface ProtocolConstants +{ + int PROTOCOL_HEADER = 0x4a524d49; // JRMI + int PROTOCOL_VERSION = 2; -final public static int PROTOCOL_HEADER = 0x4a524d49; // JRMI -final public static int PROTOCOL_VERSION = 2; + int STREAM_PROTOCOL = 0x4b; + int SINGLE_OP_PROTOCOL = 0x4c; + int MULTIPLEX_PROTOCOL = 0x4d; -final public static int STREAM_PROTOCOL = 0x4b; -final public static int SINGLE_OP_PROTOCOL = 0x4c; -final public static int MULTIPLEX_PROTOCOL = 0x4d; + int PROTOCOL_ACK = 0x4e; + int PROTOCOL_NACK = 0x4f; -final public static int PROTOCOL_ACK = 0x4e; -final public static int PROTOCOL_NACK = 0x4f; + int MESSAGE_CALL = 0x50; + int MESSAGE_CALL_ACK = 0x51; + int MESSAGE_PING = 0x52; + int MESSAGE_PING_ACK = 0x53; + int MESSAGE_DGCACK = 0x54; -final public static int MESSAGE_CALL = 0x50; -final public static int MESSAGE_CALL_ACK = 0x51; -final public static int MESSAGE_PING = 0x52; -final public static int MESSAGE_PING_ACK = 0x53; -final public static int MESSAGE_DGCACK = 0x54; + int RETURN_ACK = 0x01; + int RETURN_NACK = 0x02; -final public static int RETURN_ACK = 0x01; -final public static int RETURN_NACK = 0x02; - -final public static int DEFAULT_PROTOCOL = STREAM_PROTOCOL; - -}; + int DEFAULT_PROTOCOL = STREAM_PROTOCOL; +} |

