orca.shirako.proxies.local
Class LocalReturn

java.lang.Object
  extended by orca.shirako.proxies.Proxy
      extended by orca.shirako.proxies.local.LocalProxy
          extended by orca.shirako.proxies.local.LocalReturn
All Implemented Interfaces:
IActorIdentity, ICallbackProxy, IClientCallbackProxy, IClientPublic, IProxy, ISerialize, IServiceManagerCallbackProxy, IServiceManagerPublic

public class LocalReturn
extends LocalProxy
implements IServiceManagerCallbackProxy

Callback object to an actor residing in the same container as the caller.


Field Summary
 
Fields inherited from class orca.shirako.proxies.local.LocalProxy
actorAuth, actorName, logger, PropertyLocalProxyActorName
 
Fields inherited from class orca.shirako.proxies.Proxy
callback, PropertyProxyActorName, PropertyProxyCallback, PropertyProxyClass, PropertyProxyType, proxyType
 
Fields inherited from interface orca.shirako.api.IProxy
ProxyTypeLocal, ProxyTypeSoap
 
Constructor Summary
LocalReturn()
           
LocalReturn(IActor sact)
          Create a new callback to the specified actor
 
Method Summary
 void updateLease(ResourceReservation r, UpdateData udd, AuthToken auth)
          update the lease
 void updateTicket(ResourceReservation r, UpdateData udd, AuthToken auth)
          Update the ticket
 
Methods inherited from class orca.shirako.proxies.local.LocalProxy
getActor, getFactory, getIdentity, getName, query, reset, save
 
Methods inherited from class orca.shirako.proxies.Proxy
abstractCloneAuthority, abstractCloneBroker, abstractCloneReturn, getGuid, getPlugin, getProxy, getType, recoverProxy, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface orca.shirako.api.IProxy
getType
 
Methods inherited from interface orca.shirako.api.IActorIdentity
getGuid, getIdentity, getName
 
Methods inherited from interface orca.shirako.api.ISerialize
reset, save, save
 

Constructor Detail

LocalReturn

public LocalReturn()

LocalReturn

public LocalReturn(IActor sact)
Create a new callback to the specified actor

Parameters:
sact - The actor
Method Detail

updateTicket

public void updateTicket(ResourceReservation r,
                         UpdateData udd,
                         AuthToken auth)
                  throws java.lang.Exception
Update the ticket

Specified by:
updateTicket in interface IClientPublic
Parameters:
r - Reservation
udd - Status of the update
auth - AuthToken of the caller
Throws:
java.lang.Exception

updateLease

public void updateLease(ResourceReservation r,
                        UpdateData udd,
                        AuthToken auth)
                 throws java.lang.Exception
update the lease

Specified by:
updateLease in interface IServiceManagerPublic
Parameters:
r - the reservation
udd - the new data for the ticket
auth - the slice owner
Throws:
java.lang.Exception


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