Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.miamm.soapmmil.test.simple
Class SimpleMIAMMService_Zulu  view SimpleMIAMMService_Zulu download SimpleMIAMMService_Zulu.java

java.lang.Object
  extended byorg.miamm.soapmmil.MIAMMService
      extended byorg.miamm.soapmmil.test.simple.SimpleMIAMMService
          extended byorg.miamm.soapmmil.test.simple.SimpleMIAMMService_Zulu
All Implemented Interfaces:
SimpleMIAMMServiceConstants, org.miamm.soapmmil.SoapMMILConstants

public class SimpleMIAMMService_Zulu
extends SimpleMIAMMService

This service's job when it initialises, is to launch the test and to verify its result when the data comes back

Version:
$Revision: 1.11 $
$Date: 2003/04/22 23:01:21 $

Nested Class Summary
 
Nested classes inherited from class org.miamm.soapmmil.MIAMMService
 
Field Summary
static java.lang.Character _id
           
(package private)  java.lang.String _initialDream
           
(package private)  org.apache.log4j.Logger logger
           
 
Fields inherited from class org.miamm.soapmmil.test.simple.SimpleMIAMMService
_hasStarted, NAMESPACE_AWARE, SIMPLE_TEST_STRING_DEFAULT, SIMPLE_TEST_STRING_PROPERTY
 
Fields inherited from class org.miamm.soapmmil.MIAMMService
 
Fields inherited from interface org.miamm.soapmmil.test.simple.SimpleMIAMMServiceConstants
ALPHA_RECEIVER_PROPERTY, BRAVO_RECEIVER_PROPERTY, CHARLIE_RECEIVER_PROPERTY, ELEMENT_TAG_DREAM, ELEMENT_TAG_REALITY, ELEMENT_TAG_ROOT, ZULU_RECEIVER_PROPERTY
 
Fields inherited from interface org.miamm.soapmmil.SoapMMILConstants
ELEMENT_MISOH_BLOCK, LOG4J_PROPERTY, misohDescriptor, NAMESPACE_PREFIX_MIAMM, NAMESPACE_URI_MIAMM, PROPERTY_MIAMM_SMART_RECEIVER, PROPERTY_MIAMM_URLFILE
 
Constructor Summary
SimpleMIAMMService_Zulu()
           
 
Method Summary
 java.lang.Character getID()
          Return a single character that identifies this service.
 void recogniseEvent(org.miamm.soapmmil.SoapmmilMessage message)
          If the dream is empty, we check to see if the reality corresponds to what the original dream was.
 void start()
          We override the start() function to kick-start the SimpleTest
 
Methods inherited from class org.miamm.soapmmil.test.simple.SimpleMIAMMService
fireMessage, getMsgContentType, restart, stop
 
Methods inherited from class org.miamm.soapmmil.MIAMMService
getDebuggingId, getDumbOutgoingURL, getServiceName, getServiceTable, getSmartOutgoingURL, receiveMessage, recogniseEvent, soapmmil
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_initialDream

java.lang.String _initialDream

_id

public static final java.lang.Character _id

logger

org.apache.log4j.Logger logger
Constructor Detail

SimpleMIAMMService_Zulu

public SimpleMIAMMService_Zulu()
                        throws org.miamm.soapmmil.MIAMMException
Method Detail

getID

public java.lang.Character getID()
Description copied from class: SimpleMIAMMService
Return a single character that identifies this service. Examples are 'a', 'b', 'c' :-)

Specified by:
getID in class SimpleMIAMMService

start

public void start()
           throws org.miamm.soapmmil.MIAMMException
We override the start() function to kick-start the SimpleTest

Overrides:
start in class SimpleMIAMMService

recogniseEvent

public void recogniseEvent(org.miamm.soapmmil.SoapmmilMessage message)
                    throws org.miamm.soapmmil.MIAMMException
If the dream is empty, we check to see if the reality corresponds to what the original dream was. The original dream has been predefined in tryDream. We override

Overrides:
recogniseEvent in class SimpleMIAMMService