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

com.newstep.solid.processor.threepass
Class PredecodedMessage

public class PredecodedMessage      
Represents a message that knows how to decode itself (i.e it's bound to a
decoder).

It's used during the first phase of processing such that the
DecodeAndPredispatchingTask may leverage the correct Decoder for the Event.
 
Links:
Kernel Association Association Link
to Interface MessageDecoder
Associates type:
aggregation
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Directed.
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregation
 
Kernel Association Association Link
to Class Message
Associates type:
aggregation
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Directed.
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
associates:
com.newstep.solid.comm.Message
link:
aggregation
 
 

Field Summary
private Message
Constructor Summary
public void
Method Summary
public final ArrayList
public Message
Field Detail
decoder
MessageDecoder decoder
 

decoder
private MessageDecoder decoder
Multiplicity:
1
 

message
Message message
Custom properties
associates:
com.newstep.solid.comm.Message
 

message
private Message message
Multiplicity:
1
Custom properties
associates:
com.newstep.solid.comm.Message
 
Constructor Detail
PredecodedMessage
public void PredecodedMessage (Message message, MessageDecoder decoder)
 
Constructor
Parameters:
message
a Message
decoder
a Decoder capable of decoding the specified Message
Stereotype:
create
 
Method Detail
decode
public final ArrayList decode ()
 
decodes the Message via the Decoder
Return:
the events that correspond to the Message
Final.
Throws:
DecodingException
 

getDecoder
public MessageDecoder getDecoder ()
 
Return:
the Decoder
 

getMessage
public Message getMessage ()
 
Return:
the Message
 

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