Module: Ermir::TransportConstants
- Included in:
- Ermir
- Defined in:
- lib/ermir/transport_constants.rb
Overview
from: sun.rmi.transport.TransportConstants.java
Constant Summary collapse
- MAGIC =
Transport magic number: “JRMI”
0x4a524d49- VERSION =
Transport version number
2- STREAM_PROTOCOL =
Connection uses stream protocol
0x4b- SINGLE_OP_PROTOCOL =
Protocol for single operation per connection no ack required
0x4c- MULTIPLEX_PROTOCOL =
Connection uses multiplex protocol
0x4d- PROTOCOL_ACK =
Ack for transport protocol
0x4e- PROTOCOL_NACK =
Negative ack for transport protocol (protocol not supported)
0x4f- CALL =
RMI call
0x50- RETURN =
RMI return
0x51- PING =
Ping operation
0x52- PING_ACK =
Acknowledgment for Ping operation
0x53- DGC_ACK =
Acknowledgment for distributed GC
0x54- NORMAL_RETURN =
Normal return (with or without return value)
0x01- EXCEPTIONAL_RETURN =
Exceptional return
0x02- INTERFACE_STUB_HASH =
4905912898345647071- INTERFACE_SKEL_HASH =
4905912898345647071- OBJECT_STREAM_MAGIC =
0xACED0005
- TC_BLOCKDATA =
0x77- TC_STRING =
0x74- TC_CLASSDESC =
0x72- TC_PROXYCLASSDESC =
0x7d- TC_ENDBLOCKDATA =
0x78- TC_NULL =
0x70- TC_REFERENCE =
0x71- TC_OBJECT =
0x73- TC_ARRAY =
0x75- TC_CLASS =
0x76- TC_RESET =
0x79- TC_BLOCKDATALONG =
0x7A
- TC_EXCEPTION =
0x7B
- TC_LONGSTRING =
0x7C
- SC_WRITE_METHOD =
0x01- SC_BLOCK_DATA =
0x08- SC_SERIALIZABLE =
0x02- SC_EXTERNALIZABLE =
0x04- SC_ENUM =
0x10- OPS =
{0 => "bind", 1 => "list", 2 => "lookup", 3 => "rebind", 4 => "unbind"}