orca.shirako.api
Interface IBroker

All Superinterfaces:
IActor, IActorIdentity, IActorPublic, IBrokerPublic, IClientActor, IClientPublic, IInitialize, IRecover, IReservationOperations, ISerialize, IServerActor, IServerPublic, ISliceOperations, ITick
All Known Implementing Classes:
Broker

public interface IBroker
extends IClientActor, IBrokerPublic, IServerActor

IBroker defines the interface for a Shirako actor acting in the broker role.


Field Summary
 
Fields inherited from interface orca.shirako.api.IActor
PropertyClass, PropertyGuid, PropertyName, TypeAll, TypeBroker, TypeServiceManager, TypeSiteAuthority
 
Fields inherited from interface orca.shirako.api.IActor
PropertyClass, PropertyGuid, PropertyName, TypeAll, TypeBroker, TypeServiceManager, TypeSiteAuthority
 
Method Summary
 void extendTicket(BrokerReservation reservation)
          Processes an extend ticket request for the reservation.
 void ticket(BrokerReservation reservation)
          Processes a ticket request for the reservation.
 
Methods inherited from interface orca.shirako.api.IClientActor
addBroker, claim, claim, claim, demand, extendTicket, extendTicket, getBroker, getBrokers, getDefaultBroker, ticket, ticket
 
Methods inherited from interface orca.shirako.api.IActor
actorAdded, getActorClock, getCurrentCycle, getDescription, getLogger, getPolicy, getShirakoPlugin, getType, initializeKeyStore, isFromDatabase, isRecovered, isStopped, recover, setActorClock, setDescription, setGuid, setIdentity, setLogger, setPolicy, setRecovered, setShirakoPlugin, start, stop
 
Methods inherited from interface orca.shirako.api.ITick
externalTick
 
Methods inherited from interface orca.shirako.api.ISerialize
reset, save, save
 
Methods inherited from interface orca.shirako.api.IRecover
revisit
 
Methods inherited from interface orca.shirako.api.IActorPublic
query
 
Methods inherited from interface orca.shirako.api.IActorIdentity
getGuid, getIdentity, getName
 
Methods inherited from interface orca.shirako.api.ISliceOperations
getClientSlices, getInventorySlices, getSlice, getSlices, registerSlice, removeSlice, removeSlice, reregisterSlice, unregisterSlice, unregisterSlice
 
Methods inherited from interface orca.shirako.api.IReservationOperations
close, close, close, extend, extend, getReservation, getReservations, register, removeReservation, removeReservation, reregister, unregister, unregister
 
Methods inherited from interface orca.shirako.api.IInitialize
initialize
 
Methods inherited from interface orca.shirako.api.IClientPublic
updateTicket
 
Methods inherited from interface orca.shirako.api.IBrokerPublic
claim, extendTicket, ticket
 
Methods inherited from interface orca.shirako.api.IServerActor
donate, export, export
 
Methods inherited from interface orca.shirako.api.IActor
actorAdded, getActorClock, getCurrentCycle, getDescription, getLogger, getPolicy, getShirakoPlugin, getType, initializeKeyStore, isFromDatabase, isRecovered, isStopped, recover, setActorClock, setDescription, setGuid, setIdentity, setLogger, setPolicy, setRecovered, setShirakoPlugin, start, stop
 
Methods inherited from interface orca.shirako.api.ITick
externalTick
 
Methods inherited from interface orca.shirako.api.ISerialize
reset, save, save
 
Methods inherited from interface orca.shirako.api.IRecover
revisit
 
Methods inherited from interface orca.shirako.api.IActorPublic
query
 
Methods inherited from interface orca.shirako.api.IActorIdentity
getGuid, getIdentity, getName
 
Methods inherited from interface orca.shirako.api.ISliceOperations
getClientSlices, getInventorySlices, getSlice, getSlices, registerSlice, removeSlice, removeSlice, reregisterSlice, unregisterSlice, unregisterSlice
 
Methods inherited from interface orca.shirako.api.IReservationOperations
close, close, close, extend, extend, getReservation, getReservations, register, removeReservation, removeReservation, reregister, unregister, unregister
 
Methods inherited from interface orca.shirako.api.IInitialize
initialize
 

Method Detail

ticket

void ticket(BrokerReservation reservation)
            throws java.lang.Exception
Processes a ticket request for the reservation.

Parameters:
reservation - reservation representing a request for a new ticket
Throws:
java.lang.Exception

extendTicket

void extendTicket(BrokerReservation reservation)
                  throws java.lang.Exception
Processes an extend ticket request for the reservation.

Parameters:
reservation - reservation representing a request for a ticket extension
Throws:
java.lang.Exception


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.