com.caucho.server.repository
Class RepositoryActor

java.lang.Object
  extended by com.caucho.bam.stream.AbstractMessageStream
      extended by com.caucho.bam.actor.SimpleActor
          extended by com.caucho.cloud.bam.AbstractCloudActor
              extended by com.caucho.server.repository.RepositoryActor
All Implemented Interfaces:
Actor, ActorHolder, ManagedActor, MessageStream

public class RepositoryActor
extends AbstractCloudActor


Method Summary
 boolean getFile(long id, java.lang.String to, java.lang.String from, RequestFile requestFile)
          Handle an RequestFile notification XXX: needs to be a query?
 void notifyAddFile(java.lang.String to, java.lang.String from, NotifyAddFile addFile)
          NotifyAddFile notification
 void notifyRepositoryUpdate(java.lang.String to, java.lang.String from, NotifyRepositoryUpdate update)
          NotifyDeployUpdate notification
 void requestFile(java.lang.String to, java.lang.String from, RequestFile requestFile)
          Handle an RequestFile notification XXX: needs to be a query?
 void sendFile(java.lang.String to, java.lang.String from, SendFile sendFile)
          SendFile adds a git file to the repository
 
Methods inherited from class com.caucho.cloud.bam.AbstractCloudActor
dbgId, getBamSender, getMailboxType, getManagedBroker, getPod, registerActor
 
Methods inherited from class com.caucho.bam.actor.SimpleActor
getActor, getAddress, getBroker, getMailbox, getSender, setAddress, setBroker, setMailbox
 
Methods inherited from class com.caucho.bam.stream.AbstractMessageStream
isClosed, message, messageError, query, queryError, queryResult, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.bam.stream.MessageStream
isClosed, message, messageError, query, queryError, queryResult
 

Method Detail

notifyAddFile

@Message
public void notifyAddFile(java.lang.String to,
                                  java.lang.String from,
                                  NotifyAddFile addFile)
NotifyAddFile notification


requestFile

@Message
public void requestFile(java.lang.String to,
                                java.lang.String from,
                                RequestFile requestFile)
Handle an RequestFile notification XXX: needs to be a query?


getFile

@Query
public boolean getFile(long id,
                             java.lang.String to,
                             java.lang.String from,
                             RequestFile requestFile)
Handle an RequestFile notification XXX: needs to be a query?


sendFile

@Message
public void sendFile(java.lang.String to,
                             java.lang.String from,
                             SendFile sendFile)
SendFile adds a git file to the repository


notifyRepositoryUpdate

@Message
public void notifyRepositoryUpdate(java.lang.String to,
                                           java.lang.String from,
                                           NotifyRepositoryUpdate update)
NotifyDeployUpdate notification