Uses of Class
org.miv.mbox.net.MBoxLocator

Packages that use MBoxLocator
org.miv.mbox.net   
 

Uses of MBoxLocator in org.miv.mbox.net
 

Fields in org.miv.mbox.net declared as MBoxLocator
protected  MBoxLocator Sender.locator
          Locator of the distant message box.
protected  MBoxLocator Receiver.locator
          Host name for this application.
 

Methods in org.miv.mbox.net that return MBoxLocator
 MBoxLocator Sender.getLocator()
          Locator of the distant receiver.
 MBoxLocator Receiver.getLocator()
          Locator of this receiver.
 

Methods in org.miv.mbox.net with parameters of type MBoxLocator
 Sender SenderPool.connect(MBoxLocator locator)
          Create a new sender for the host part of the given locator and cache it.
 Sender SenderPool.getSender(MBoxLocator locator)
          Get the sender for the host given by the given locator.
 boolean SenderPool.hasSender(MBoxLocator locator)
          Is there a cached connection to the hostname and port of the given locator.
 void SenderPool.send(MBoxLocator to, Packet packet)
          Send a prepacked message to a distant message box, first creating a sender if not already cached.
 void SenderPool.send(String from, MBoxLocator to, Object... messages)
          Send a message to a distant message box, first creating a sender if not already cached.
 

Constructors in org.miv.mbox.net with parameters of type MBoxLocator
Receiver(MBoxLocator locator)
          New receiver, awaiting for messages in its own thread at the given locator.
Receiver(MBoxLocator locator, boolean debug)
          New receiver, awaiting for messages in its own thread at the given locator.
Sender(MBoxLocator locator)
          New sender toward the given receiver.
Sender(MBoxLocator locator, boolean debug)
          New sender toward the given receiver.
 



Copyright © 2011. All Rights Reserved.