com.caucho.server.resin
Class ResinActor

java.lang.Object
  extended by com.caucho.bam.stream.AbstractMessageStream
      extended by com.caucho.bam.actor.SimpleActor
          extended by com.caucho.server.resin.ResinActor
All Implemented Interfaces:
Actor, ActorHolder, ManagedActor, MessageStream

public class ResinActor
extends SimpleActor

Actor communicating with the watchdog.


Method Summary
 void destroy()
           
 void queryPid(long id, java.lang.String to, java.lang.String from, PidQuery query)
          Query for the process pid.
 void sendWarning(java.lang.String msg)
          Sends a warning message to the watchdog
 void startInfo(java.lang.String to, java.lang.String from, StartInfoMessage msg)
          Startup information
 void stop(long id, java.lang.String to, java.lang.String from, WatchdogStopQuery query)
           
 
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

sendWarning

public void sendWarning(java.lang.String msg)
Sends a warning message to the watchdog


startInfo

@Message
public void startInfo(java.lang.String to,
                              java.lang.String from,
                              StartInfoMessage msg)
Startup information


queryPid

@Query
public void queryPid(long id,
                           java.lang.String to,
                           java.lang.String from,
                           PidQuery query)
Query for the process pid.


stop

@Query
public void stop(long id,
                       java.lang.String to,
                       java.lang.String from,
                       WatchdogStopQuery query)

destroy

public void destroy()