orca.shirako.proxies.soap
Class SoapReturn

java.lang.Object
  extended by orca.shirako.proxies.Proxy
      extended by orca.shirako.proxies.soap.SoapProxy
          extended by orca.shirako.proxies.soap.SoapReturn
All Implemented Interfaces:
IActorIdentity, ICallbackProxy, IClientCallbackProxy, IClientPublic, IProxy, ISerialize, IServiceManagerCallbackProxy, IServiceManagerPublic

public class SoapReturn
extends SoapProxy
implements IServiceManagerCallbackProxy

Implements an actor callback using SOAP.

Author:
aydan

Field Summary
protected  ActorServiceStub stub
          The actor service stub
 
Fields inherited from class orca.shirako.proxies.soap.SoapProxy
identity, logger, PropertyServiceEndPoint, PropetyClientConfig, serviceEndpoint
 
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
SoapReturn(java.lang.String serviceEndpoint, AuthToken identity, LoggingTool logger)
          Construct a new SOAP callback.
 
Method Summary
 void initialize()
           
 java.util.Properties query(java.util.Properties properties, AuthToken caller)
          
 void updateLease(ResourceReservation reservation, UpdateData updateData, AuthToken authToken)
          Handles an incoming lease update.
 void updateTicket(ResourceReservation reservation, UpdateData updateData, AuthToken authToken)
          Handles an incoming ticket update.
 
Methods inherited from class orca.shirako.proxies.soap.SoapProxy
getConfiguration, getFactory, getIdentity, getLogger, getName, getServiceEndpoint, reset
 
Methods inherited from class orca.shirako.proxies.Proxy
abstractCloneAuthority, abstractCloneBroker, abstractCloneReturn, getGuid, getPlugin, getProxy, getType, recoverProxy, save, 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
 

Field Detail

stub

protected ActorServiceStub stub
The actor service stub

Constructor Detail

SoapReturn

public SoapReturn(java.lang.String serviceEndpoint,
                  AuthToken identity,
                  LoggingTool logger)
Construct a new SOAP callback.

Parameters:
serviceEndpoint - Endpoint for the callback
identity - Identity of the actor waiting for the callback
logger - Logger
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in class SoapProxy
Throws:
java.lang.Exception

updateTicket

public void updateTicket(ResourceReservation reservation,
                         UpdateData updateData,
                         AuthToken authToken)
                  throws java.lang.Exception
Handles an incoming ticket update.

Specified by:
updateTicket in interface IClientPublic
Parameters:
reservation - reservation represented by this update. The reservation object will contain the ticket (if any) as well information about the actually allocated resources.
updateData - status of the remote operation.
authToken - identity of the caller
Throws:
java.lang.Exception

updateLease

public void updateLease(ResourceReservation reservation,
                        UpdateData updateData,
                        AuthToken authToken)
                 throws java.lang.Exception
Handles an incoming lease update.

Specified by:
updateLease in interface IServiceManagerPublic
Parameters:
reservation - reservation represented by this update. The reservation object will contain the lease (if any) as well information about the actually leased resources.
updateData - status of the remote operation.
authToken - identity of the caller
Throws:
java.lang.Exception

query

public java.util.Properties query(java.util.Properties properties,
                                  AuthToken caller)
                           throws java.lang.Exception

Overrides:
query in class Proxy
Throws:
java.lang.Exception


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