next up previous contents
Next: Delay Up: JChannel Protocols Previous: JChannel Protocols

Templates

There are 3 templates for protocols derived from a) Protocol, b) MessageProtocol and c) RpcProtocol. They may be copied as initial skeleton for the type of protocol to be written. The templates are a) EXAMPLE.java, MessageProtocolEXAMPLE.java and RpcProtocolEXAMPLE.java. These protocols by default just pass any event they receive up/down the stack, so a new protocol can be created and integrated into a protocol stack in a matter of minutes. This protocol would not do anything useful yet, but it can be coded in steps (with testing followed every step) so that incremental changes are possible.




1999-12-13