org.xlattice
Interface Overlay


public interface Overlay

A Overlay is characterized by an address space, a transport protocol, and possibly a set of rules for navigating the address space using the protocol. A Overlay may either be system-supported, like TCP/IP will normally be, or it may explicitly depend upon an underlying Overlay, in the way that HTTP, for example, is generally implemented over TCP/IP. If the Overlay is system-supported, traffic will be routed and neighbors will be reached by making calls to operating system primitives such as sockets. In some Overlays there is a method which, given an Address, returns another Address, a gateway, which can be used to route messages to the first. XXX 'Overlay' is drifting towards a synonym for EndPoint.

Author:
Jim Dixon

Method Summary
 Address address()
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String protocol()
           
 java.lang.String transport()
           
 

Method Detail

transport

java.lang.String transport()

protocol

java.lang.String protocol()

address

Address address()

equals

boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object