orca.shirako.proxies.soap.services
Class AgentServiceImpl

java.lang.Object
  extended by orca.shirako.proxies.soap.services.ActorServiceImpl
      extended by orca.shirako.proxies.soap.services.AgentServiceImpl

public class AgentServiceImpl
extends ActorServiceImpl

Agent SOAP service implementation. This is the server-side code responsible for validating and translating incoming SOAP requests to the actor residing within the container.


Field Summary
 
Fields inherited from class orca.shirako.proxies.soap.services.ActorServiceImpl
actor, logger
 
Constructor Summary
AgentServiceImpl()
          Construct the service and performs the necessary initialization
 
Method Summary
 void claim(Reservation reservation, java.lang.String callbackURL)
          Service a claim request
 void extendTicket(Reservation reservation, Term term)
          Service an incoming extendTicket request
protected  BrokerReservation passAgent(Reservation reservation)
          Convert a SOAP reservation to an AgentReservation
 void ticket(Reservation reservation, java.lang.String callbackURL)
          Service an incoming ticket request
 
Methods inherited from class orca.shirako.proxies.soap.services.ActorServiceImpl
getCallback, getConcrete, initialize, passClient, query, tick, updateLease, updateTicket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentServiceImpl

public AgentServiceImpl()
                 throws java.lang.Exception
Construct the service and performs the necessary initialization

Throws:
java.lang.Exception
Method Detail

passAgent

protected BrokerReservation passAgent(Reservation reservation)
                               throws java.lang.Exception
Convert a SOAP reservation to an AgentReservation

Parameters:
reservation - The SOAP reservation
Returns:
Throws:
java.lang.Exception

ticket

public void ticket(Reservation reservation,
                   java.lang.String callbackURL)
            throws java.rmi.RemoteException
Service an incoming ticket request

Parameters:
reservation - SOAP reservation
callbackURL - SOAP endpoint for callbacks
Throws:
java.rmi.RemoteException

extendTicket

public void extendTicket(Reservation reservation,
                         Term term)
                  throws java.rmi.RemoteException
Service an incoming extendTicket request

Parameters:
reservation - SOAP reservation
term - Term for the extension
Throws:
java.rmi.RemoteException

claim

public void claim(Reservation reservation,
                  java.lang.String callbackURL)
           throws java.rmi.RemoteException
Service a claim request

Parameters:
reservation - SOAP reservation
callbackURL - SOAP endpoint for callbacks
Throws:
java.rmi.RemoteException


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