orca.shirako.proxies.local
Class LocalBroker
java.lang.Object
orca.shirako.proxies.Proxy
orca.shirako.proxies.local.LocalProxy
orca.shirako.proxies.local.LocalBroker
- All Implemented Interfaces:
- IActorIdentity, IActorProxy, IActorPublic, IBrokerProxy, IBrokerPublic, IProxy, ISerialize, IServerProxy, IServerPublic
- Direct Known Subclasses:
- LocalAuthority
public class LocalBroker
- extends LocalProxy
- implements IBrokerProxy
Local proxy for Agent. Allows communication with an Agent in the same
container as the caller.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalBroker
public LocalBroker()
LocalBroker
public LocalBroker(IActor actor)
- Create a new proxy for the specified actor
- Parameters:
actor -
ticket
public void ticket(ResourceReservation reservation,
IClientCallbackProxy callback,
AuthToken caller)
throws java.lang.Exception
- Create a ticket
- Specified by:
ticket in interface IBrokerPublic
- Parameters:
reservation - the reservationcallback - the SlicesReturn for the ticketcaller - the owner of the slice
- Throws:
java.lang.Exception
extendTicket
public void extendTicket(ResourceReservation reservation,
AuthToken caller)
throws java.lang.Exception
- Extend a ticket
- Specified by:
extendTicket in interface IBrokerPublic
- Parameters:
reservation - the reservationcaller - the owner of the slice
- Throws:
java.lang.Exception
claim
public void claim(ResourceReservation reservation,
IClientCallbackProxy callback,
AuthToken caller)
throws java.lang.Exception
- Claim an exported "will call" ticket
- Specified by:
claim in interface IBrokerPublic
- Parameters:
reservation - the reservation request and parameters (with
exportedRid)callback - the callback object for this reservationcaller - the slice owner
- Throws:
java.lang.Exception
passReservation
protected BrokerReservation passReservation(ReservationClient r,
AuthToken auth)
throws java.lang.Exception
- Converts a reservation to be passed from one actor to another
- Parameters:
r - The reservationauth - The auth token of the caller
- Returns:
-
- Throws:
java.lang.Exception
Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.