Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.test.processor.performance.decoders
Class TestDecoder
All Implemented Interfaces:
       MessageDecoder
Direct Known Subclasses:
       TestDecoderType1, TestDecoderType2, TestDecoderType3

public abstract class TestDecoder      
Base class for all decoders that implement messages of type com.newstep.solid.test.performance.decoders.TestMessage
Abstract.
Implements:
MessageDecoder
 
Links:
Implementation Implementation Link
to Interface MessageDecoder
Base class for all decoders that implement messages of type com.newstep.solid.test.performance.decoders.TestMessage
 
 

Field Summary
private int
private Logger
Constructor Summary
public void
TestDecoder(Integer decodingDelay)
Method Summary
public ArrayList
decode(Message message)
public abstract boolean
Field Detail
decodingDelay
private int decodingDelay
Multiplicity:
1
 

logger
private Logger logger
Multiplicity:
1
 
Constructor Detail
TestDecoder
public void TestDecoder (Integer decodingDelay)
 
Constructor
Parameters:
decodingDelay the time the decoder takes to while running to
simulate 'decoding' a message
Stereotype:
create
 
Method Detail
decode
public ArrayList decode (Message message)
 
Custom properties
noinspection:
DuplicateStringLiteralInspection
 

verifyMessageType
public abstract boolean verifyMessageType (TestMessage message)
 
Verifies that the messages input are really meant to be decoded by the
appropriate decoder
Parameters:
message the message to decoder
Return:
true/false indicating whether the message is of the correct type
or not
Abstract.
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD