orca.shirako.proxies.local
Class LocalAuthority

java.lang.Object
  extended by orca.shirako.proxies.Proxy
      extended by orca.shirako.proxies.local.LocalProxy
          extended by orca.shirako.proxies.local.LocalBroker
              extended by orca.shirako.proxies.local.LocalAuthority
All Implemented Interfaces:
IActorIdentity, IActorProxy, IActorPublic, IAuthorityProxy, IAuthorityPublic, IBrokerProxy, IBrokerPublic, IProxy, ISerialize, IServerProxy, IServerPublic

public class LocalAuthority
extends LocalBroker
implements IAuthorityProxy

Local proxy for Authority. Allows communication with an Authority 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
LocalAuthority()
           
LocalAuthority(IActor actor)
          Create a proxy to the specified actor
 
Method Summary
 void close(ResourceReservation reservation, AuthToken caller)
          Close
 void extendLease(ResourceReservation reservation, AuthToken caller)
          Extend a lease of a reservation
 void redeem(ResourceReservation reservation, IServiceManagerCallbackProxy callback, AuthToken caller)
          Redeem a reservation
 
Methods inherited from class orca.shirako.proxies.local.LocalBroker
claim, extendTicket, passReservation, 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
 
Methods inherited from interface orca.shirako.api.IActorPublic
query
 

Constructor Detail

LocalAuthority

public LocalAuthority()

LocalAuthority

public LocalAuthority(IActor actor)
Create a proxy to the specified actor

Parameters:
actor -
Method Detail

redeem

public void redeem(ResourceReservation reservation,
                   IServiceManagerCallbackProxy callback,
                   AuthToken caller)
            throws java.lang.Exception
Redeem a reservation

Specified by:
redeem in interface IAuthorityPublic
Parameters:
reservation - The reservation
callback - SlicesReturn Callback
caller - The slice owner
Throws:
java.lang.Exception

extendLease

public void extendLease(ResourceReservation reservation,
                        AuthToken caller)
                 throws java.lang.Exception
Extend a lease of a reservation

Specified by:
extendLease in interface IAuthorityPublic
Parameters:
reservation - The reservation
caller - The slice owner
Throws:
java.lang.Exception

close

public void close(ResourceReservation reservation,
                  AuthToken caller)
           throws java.lang.Exception
Close

Specified by:
close in interface IAuthorityPublic
Parameters:
reservation - The reservation
caller - The slice owner
Throws:
java.lang.Exception


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