examples.statistics.v03
Class StatisticsComponentSyncMessage

java.lang.Object
  extended by examples.statistics.v01.StatisticsComponent
      extended by examples.statistics.v03.StatisticsComponentSyncMessage
All Implemented Interfaces:
IComponentMessageDriven, IUnknown, ISourceMessage, ISyncReceiver, IStatistics

public class StatisticsComponentSyncMessage
extends StatisticsComponent
implements ISyncReceiver, ISourceMessage, IComponentMessageDriven


Field Summary
static java.lang.String ISTATISTICSMESSAGE_ID
           
static java.lang.String STATISTICSCOMPONENTMESSAGE_ID
           
 
Fields inherited from class examples.statistics.v01.StatisticsComponent
ISTATISTICS_ID, STATISTICSCOMPONENT_ID
 
Constructor Summary
StatisticsComponentSyncMessage(java.lang.String primaryKey)
           
 
Method Summary
 void assignMessageFactory(IMessageFactory messageFactory)
          Method that assign an Factory of Message
public void assignMessageFactory(IMessageFactory messageFactory);
 IUnknown queryInterface(java.lang.String interfaceId)
          Return the component Interface based on your id.
 IMessage syncMessage(IMessage message)
          This method receives a synchronous message and returns the message
 
Methods inherited from class examples.statistics.v01.StatisticsComponent
average, getPrimaryKey, insertValue, sum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATISTICSCOMPONENTMESSAGE_ID

public static final java.lang.String STATISTICSCOMPONENTMESSAGE_ID
See Also:
Constant Field Values

ISTATISTICSMESSAGE_ID

public static final java.lang.String ISTATISTICSMESSAGE_ID
See Also:
Constant Field Values
Constructor Detail

StatisticsComponentSyncMessage

public StatisticsComponentSyncMessage(java.lang.String primaryKey)
Method Detail

queryInterface

public IUnknown queryInterface(java.lang.String interfaceId)
Description copied from interface: IUnknown
Return the component Interface based on your id.

Specified by:
queryInterface in interface IUnknown
Overrides:
queryInterface in class StatisticsComponent
Returns:

syncMessage

public IMessage syncMessage(IMessage message)
Description copied from interface: ISyncReceiver
This method receives a synchronous message and returns the message

Specified by:
syncMessage in interface ISyncReceiver
Returns:
message

assignMessageFactory

public void assignMessageFactory(IMessageFactory messageFactory)
Description copied from interface: IComponentMessageDriven
Method that assign an Factory of Message
public void assignMessageFactory(IMessageFactory messageFactory);
 

Specified by:
assignMessageFactory in interface IComponentMessageDriven
Parameters:
messageFactory - This parameter refers to the message created.


Copyright © 2007. All Rights Reserved.