ePOST API

Uses of Class
rice.pastry.socket.EpochInetSocketAddress

Packages that use EpochInetSocketAddress
rice.pastry.socket   
rice.pastry.socket.messaging   
 

Uses of EpochInetSocketAddress in rice.pastry.socket
 

Fields in rice.pastry.socket declared as EpochInetSocketAddress
protected  EpochInetSocketAddress PingManager.Envelope.destination
           
protected  EpochInetSocketAddress SocketNodeHandle.eaddress
           
protected  EpochInetSocketAddress[] SourceRoute.path
           
 

Methods in rice.pastry.socket that return EpochInetSocketAddress
static EpochInetSocketAddress SocketChannelRepeater.decodeHeader(byte[] array)
          Method which can be used to decode the necessary header for the intermediate hop
static EpochInetSocketAddress SocketChannelRepeater.decodeHeader(byte[] array, int offset)
          Method which can be used to decode the necessary header for the intermediate hop
 EpochInetSocketAddress SocketNodeHandle.getEpochAddress()
           
 EpochInetSocketAddress SourceRoute.getFirstHop()
          Method which returns the first "hop" of this source route
 EpochInetSocketAddress SourceRoute.getHop(int i)
          Returns the hop at the given index
 EpochInetSocketAddress SourceRoute.getLastHop()
          Method which returns the first "hop" of this source route
 

Methods in rice.pastry.socket with parameters of type EpochInetSocketAddress
static byte[] PingManager.addHeader(SourceRoute path, java.lang.Object data, EpochInetSocketAddress localAddress, Environment env, Logger logger)
          Method which adds a header for the provided path to the given data.
 SourceRoute SourceRoute.append(EpochInetSocketAddress address)
          Method which creates a new source route by appending the given address to the end of this one
 void SocketSourceRouteManager.bootstrap(EpochInetSocketAddress address, Message message)
          Method which sends a bootstrap message across the wire.
static SourceRoute SourceRoute.build(EpochInetSocketAddress address)
          Constructor.
static SourceRoute SourceRoute.build(EpochInetSocketAddress[] path)
          Constructor.
 void SocketSourceRouteManager.checkLiveness(EpochInetSocketAddress address)
          Method which FORCES a check of liveness of the remote node.
protected  void SocketCollectionManager.SourceRouteManager.createConnection(EpochInetSocketAddress address)
          Creates the outgoing socket to the remote handle
 void SocketCollectionManager.declaredDead(EpochInetSocketAddress address)
          Method which should be called when a remote node is declared dead.
static byte[] SocketChannelRepeater.encodeHeader(EpochInetSocketAddress address)
          Method which can be used to constuct the necessary header for the intermediate hop
 SocketSourceRouteManager.AddressManager SocketSourceRouteManager.getAddressManager(EpochInetSocketAddress address)
           
protected  SocketSourceRouteManager.AddressManager SocketSourceRouteManager.getAddressManager(EpochInetSocketAddress address, boolean search)
          Internal method which returns (or builds) the manager associated with an address
protected  SourceRoute[] SocketSourceRouteManager.getAllRoutes(EpochInetSocketAddress destination)
          Internal method which returns a list of all possible routes to a given address.
protected  SourceRoute SocketSourceRouteManager.getBestRoute(EpochInetSocketAddress address)
          Internal method which returns the best known route to the given destination
 int SocketSourceRouteManager.getLiveness(EpochInetSocketAddress address)
          Method which returns the last cached liveness value for the given address.
 SocketNodeHandle SocketSourceRouteManager.getNodeHandle(EpochInetSocketAddress address)
           
 boolean SourceRoute.goesThrough(EpochInetSocketAddress address)
          Returns whether or not this route goes through the given address
protected  void SocketSourceRouteManager.markDead(EpochInetSocketAddress address)
          This method should be called when a known node is declared dead - this is ONLY called when a new epoch of that node is detected.
 void SocketSourceRouteManager.ping(EpochInetSocketAddress address)
          Method which suggests a ping to the remote node.
 SourceRoute SourceRoute.prepend(EpochInetSocketAddress address)
          Method which creates a new source route by appending the given address to the end of this one
 int SocketSourceRouteManager.proximity(EpochInetSocketAddress address)
          Method which returns the last cached proximity value for the given address.
 SocketSourceRouteManager.AddressManager SocketSourceRouteManager.putAddressManager(EpochInetSocketAddress address, boolean search)
          Should be called while synchronized on nodeHandles
protected  void SocketSourceRouteManager.reroute(EpochInetSocketAddress address, Message m)
          Reroutes the given message.
 SourceRoute SourceRoute.reverse(EpochInetSocketAddress localAddress)
          Method which revereses path and cliams the corresponding address
 void SocketSourceRouteManager.send(EpochInetSocketAddress address, Message message)
          Method which sends a message across the wire.
 void SocketPastryNode.setSocketElements(EpochInetSocketAddress address, int lsmf, int rsmf)
          Helper method which allows the WirePastryNodeFactory to initialize a number of the pastry node's elements.
 

Constructors in rice.pastry.socket with parameters of type EpochInetSocketAddress
PingManager.Envelope(EpochInetSocketAddress destination, byte[] data)
          Constructor for Envelope.
PingManager(SocketPastryNode spn, SocketSourceRouteManager manager, EpochInetSocketAddress bindAddress, EpochInetSocketAddress proxyAddress)
           
SocketCollectionManager(SocketPastryNode node, SocketSourceRouteManager manager, EpochInetSocketAddress bindAddress, EpochInetSocketAddress proxyAddress, RandomSource random)
          Constructs a new SocketManager.
SocketNodeHandle(EpochInetSocketAddress address, NodeId nodeId)
          Constructor
SocketSourceRouteManager(SocketPastryNode node, EpochInetSocketAddress bindAddress, EpochInetSocketAddress proxyAddress, RandomSource random)
          Constructor
 

Uses of EpochInetSocketAddress in rice.pastry.socket.messaging
 

Fields in rice.pastry.socket.messaging declared as EpochInetSocketAddress
protected  EpochInetSocketAddress WrongEpochMessage.correct
           
protected  EpochInetSocketAddress WrongEpochMessage.incorrect
           
 

Methods in rice.pastry.socket.messaging that return EpochInetSocketAddress
 EpochInetSocketAddress WrongEpochMessage.getCorrect()
           
 EpochInetSocketAddress WrongEpochMessage.getIncorrect()
           
 

Constructors in rice.pastry.socket.messaging with parameters of type EpochInetSocketAddress
WrongEpochMessage(SourceRoute outbound, SourceRoute inbound, EpochInetSocketAddress incorrect, EpochInetSocketAddress correct, long start)
          Constructor
 


ePOST API

Copyright © 2001-2005 - Rice Pastry.