|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.manage.extensions.api.ManagerObject
orca.manage.extensions.standard.actors.ActorManagerObject
orca.manage.extensions.standard.actors.AgentManagerObject
public class AgentManagerObject
| Field Summary | |
|---|---|
protected IBroker |
broker
The agent represented by this wrapper |
| Fields inherited from class orca.manage.extensions.standard.actors.ActorManagerObject |
|---|
actor, db |
| Fields inherited from class orca.manage.extensions.api.ManagerObject |
|---|
id, logger, manager, PropertyActorName, PropertyClassName, PropertyID, PropertyProxiesClass, PropertyProxiesLength, PropertyProxiesPrefix, PropertyProxiesProtocol, PropertyTypeID, proxies, serial, typeID |
| Constructor Summary | |
|---|---|
AgentManagerObject()
Create a new instance |
|
AgentManagerObject(IBroker broker)
Create a new instance |
|
| Method Summary | |
|---|---|
ResultMng |
addBroker(ProxyMng brokerProxy,
AuthToken caller)
Adds a broker for this service manager |
ResultSliceMng |
addClientSlice(SliceMng slice,
AuthToken caller)
Create a client slice |
ResultReservationMng |
claimResources(java.lang.String brokerName,
SliceID sliceID,
ReservationID reservationID,
AuthToken caller)
Claim previously exported resources |
ResultReservationMng |
getAgentReservations(AuthToken caller)
Retrieves all reservations for which this actor is the broker. |
ResultProxyMng |
getBrokers(AuthToken caller)
Returns the brokers this service manager is associated with. |
ResultReservationMng |
getClientReservations(AuthToken caller)
Retrieves all client reservations |
ResultSliceMng |
getClientSlices(AuthToken caller)
Retrieves all client slices |
ResultSliceMng |
getInventorySlices(AuthToken caller)
Retrieves all inventory slices |
protected void |
registerProtocols()
Register all communication protocols this object supports |
void |
setActor(IActor actor)
Attach the actor to this wrapper. |
| Methods inherited from class orca.manage.extensions.standard.actors.ActorManagerObject |
|---|
addReservation, addSlice, closeReservation, extendReservation, getActor, getActorName, getHoldings, getPolicyClass, getReservation, getReservationFromDatabase, getReservationID, getReservations, getReservations, getSlice, getSlices, recover, removeReservation, removeSlice, updateSlice |
| Methods inherited from class orca.manage.extensions.api.ManagerObject |
|---|
getID, getProxies, getStackTraceString, getTypeID, initialize, loadProtocols, reset, save, save, saveProtocols, setExceptionDetails |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IBroker broker
| Constructor Detail |
|---|
public AgentManagerObject()
public AgentManagerObject(IBroker broker)
broker - Broker| Method Detail |
|---|
protected void registerProtocols()
registerProtocols in class ActorManagerObjectpublic void setActor(IActor actor)
setActor in class ActorManagerObjectpublic ResultSliceMng getInventorySlices(AuthToken caller)
getInventorySlices in class ActorManagerObjectpublic ResultSliceMng getClientSlices(AuthToken caller)
public ResultSliceMng addClientSlice(SliceMng slice,
AuthToken caller)
slice - Slice Descriptionpublic ResultReservationMng getClientReservations(AuthToken caller)
public ResultReservationMng getAgentReservations(AuthToken caller)
public ResultReservationMng claimResources(java.lang.String brokerName,
SliceID sliceID,
ReservationID reservationID,
AuthToken caller)
brokerName - Broker to claim the resources fromsliceName - Slice to store the claimed resources in (must be the
same as the remote slice in which the resources have been
exported to)reservationId - Reservation identifier of the reservation
representing the exported resources
public ResultProxyMng getBrokers(AuthToken caller)
public ResultMng addBroker(ProxyMng brokerProxy,
AuthToken caller)
broker - Broker description
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||