org.jgroups.protocols.relay
Class Relayer.Route

java.lang.Object
  extended by org.jgroups.protocols.relay.Relayer.Route
Enclosing class:
Relayer

public class Relayer.Route
extends java.lang.Object

Includes information about the site master of the route and the channel to be used


Constructor Summary
Relayer.Route(Address site_master, JChannel bridge)
           
Relayer.Route(Address site_master, JChannel bridge, RELAY2.RouteStatus status)
           
 
Method Summary
 JChannel bridge()
           
 Relayer.Route bridge(JChannel new_bridge)
           
protected  Message createMessage(Address target, Address final_destination, Address original_sender, Message msg)
           
 Relayer.Route reset()
           
 void send(short target_site, Address final_destination, Address original_sender, Message msg)
           
 Address siteMaster()
           
 Relayer.Route siteMaster(Address new_site_master)
           
 RELAY2.RouteStatus status()
           
 Relayer.Route status(RELAY2.RouteStatus new_status)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Relayer.Route

public Relayer.Route(Address site_master,
                     JChannel bridge)

Relayer.Route

public Relayer.Route(Address site_master,
                     JChannel bridge,
                     RELAY2.RouteStatus status)
Method Detail

bridge

public JChannel bridge()

bridge

public Relayer.Route bridge(JChannel new_bridge)

siteMaster

public Address siteMaster()

siteMaster

public Relayer.Route siteMaster(Address new_site_master)

status

public RELAY2.RouteStatus status()

status

public Relayer.Route status(RELAY2.RouteStatus new_status)

reset

public Relayer.Route reset()

send

public void send(short target_site,
                 Address final_destination,
                 Address original_sender,
                 Message msg)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createMessage

protected Message createMessage(Address target,
                                Address final_destination,
                                Address original_sender,
                                Message msg)


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.