org.jdesktop.wonderland.common.comms
Interface ProtocolVersion

All Known Implementing Classes:
DefaultProtocolVersion, WonderlandProtocolVersion

public interface ProtocolVersion

A version of a protocol defines what other versions of the same protcol are compatible. Note this relationship is not necessarily bi-directional: a server may support a newer, backwards compatible version of a protocol, bu a client may not support backwards compatibility.

Author:
jkaplan

Method Summary
 boolean isCompatible(ProtocolVersion version)
          Determine if this version is compatible with the given protocol version
 

Method Detail

isCompatible

boolean isCompatible(ProtocolVersion version)
Determine if this version is compatible with the given protocol version

Parameters:
version - the version to compare to
Returns:
true if the versions are compatible, and false if not.


Open Wonderland - http://openwonderland.org