SAP ABAP Class CL_AMC_PATTERN_TEST (AMC pattern tests)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-AC (Application Component) ABAP Channels
     SAMC_APPLICATION (Package) ABAP Messaging Channel Applications
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_AMC_MESSAGE_RECEIVER ABAP Messaging Channel Message Receiver 20120418
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_AMC_MESSAGE_RECEIVER_TEXT AMC receiver for text (STRING) messages 20120418
Properties
Class CL_AMC_PATTERN_TEST  
Short Description AMC pattern tests    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SAMC_APPLICATION   ABAP Messaging Channel Applications 
Created 20120413   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_AMC_PATTERN_TEST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_AMC_MESSAGE_RECEIVER ABAP Messaging Channel Message Receiver 20120418
2 IF_AMC_MESSAGE_RECEIVER_TEXT AMC receiver for text (STRING) messages 20120418
Friends
Class CL_AMC_PATTERN_TEST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CHANNEL_EVENT_TEXT Constant Public Type reference (TYPE) AMC_CHANNEL_ID '/event_text' Identifier of the ABAP Messaging Channel 20120917
2 GC_CHANNEL_GROUP_ID Constant Public Type reference (TYPE) AMC_APPLICATION_ID 'AMC_PATTERN_TEST' ABAP Messaging Channel Application identifier 20120917
3 GC_CHANNEL_REQ_RESP_TEXT Constant Public Type reference (TYPE) AMC_CHANNEL_ID '/request_response_text' Identifier of the ABAP Messaging Channel 20120917
4 GC_PATTERN_EVENT Constant Public Type reference (TYPE) STRING 'Event' Pattern type Event 20120917
5 GC_PATTERN_REQUEST_RESPONSE Constant Public Type reference (TYPE) STRING 'RequestResponse' Pattern type Event 20120917
6 GC_PATTERN_RESPONSE Constant Public Type reference (TYPE) STRING 'Response' Pattern type Event 20120917
7 MV_MESSAGE_RECEIVED Instance attribute Public Type reference (TYPE) ABAP_BOOL 20120917
8 MV_MESSAGE_TEXT Instance attribute Public Type reference (TYPE) STRING Received text message 20120917
9 MV_PATTERN_MESSAGE Instance attribute Public Type reference (TYPE) GT_AMC_PATTERN_MESSAGE 20120917
Methods
# Method Level Visibility Method type Description Created on
1 ASSEMBLE_MESSAGE_PATTERN Static method Public Method Internal use only: Serlize the pattern message 20120917
2 CREATE_RECEIVER_SESSION Static method Public Method Internal use only: Create AMC consumer session 20120917
3 DISASSEMBLE_MESSAGE_PATTERN Static method Public Method Internal use only: Serlize the pattern message 20120917
4 RECEIVE_SIMPLE_TEXT Static method Public Method Internal use only: Create AMC consumer and receive message 20120917
5 REGISTER_CHANNEL_SIMPLE_TEXT Static method Public Method Internal use only: Create AMC consumer 20120917
6 REGISTER_CHANNEL_STRUC_TEXT Static method Public Method Internal use only: Create AMC consumer 20120917
7 SEND_SIMPLE_TEXT Static method Public Method Internal use only: Send simple text message 20120917
8 SEND_STRUCTURED_REQ_RESP_TEXT Static method Public Method Internal use only: Send message with RequestResponse pattern 20120917
9 SEND_STRUCTURED_RESPONSE_TEXT Static method Public Method Internal use only: Send message withResponse pattern 20120917
10 SEND_STRUCTURED_TEXT Static method Public Method Internal use only: Send message with Event pattern 20120917
Events
Class CL_AMC_PATTERN_TEST has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GT_AMC_PATTERN_MESSAGE Public See coding 20120917 begin of gt_amc_pattern_message, pattern type string, message type string, response_channel_ext_id type AMC_CHANNEL_EXTENSION_ID, end of gt_amc_pattern_message
Method Signatures

Method ASSEMBLE_MESSAGE_PATTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_MESSAGE Value transfer Type reference (TYPE) STRING 20120917
2 Importing IV_PATTERN_MESSAGE Call by reference Type reference (TYPE) GT_AMC_PATTERN_MESSAGE 20120917
# Exception Resumable Description Created on
1 CX_AMC_ERROR Error handling class for ABAP Messaging Channels (AMC) 20120917

Method CREATE_RECEIVER_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CHANNEL_EXTENSION_ID Call by reference Type reference (TYPE) AMC_CHANNEL_EXTENSION_ID Extension to the Channel Ids 20120917
2 Importing CHANNEL_ID Value transfer Type reference (TYPE) AMC_CHANNEL_ID Identifier of the ABAP Messaging Channel 20120917

Method CREATE_RECEIVER_SESSION on class CL_AMC_PATTERN_TEST has no exception.

Method DISASSEMBLE_MESSAGE_PATTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MESSAGE Value transfer Type reference (TYPE) STRING 20120917
2 Returning RV_PATTERN_MESSAGE Value transfer Type reference (TYPE) GT_AMC_PATTERN_MESSAGE 20120917
# Exception Resumable Description Created on
1 CX_AMC_ERROR Error handling class for ABAP Messaging Channels (AMC) 20120917

Method RECEIVE_SIMPLE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CHANNEL_EXTENSION_ID Call by reference Type reference (TYPE) AMC_CHANNEL_EXTENSION_ID Extension to the Channel Ids 20120917
2 Importing CHANNEL_ID Value transfer Type reference (TYPE) AMC_CHANNEL_ID Identifier of the ABAP Messaging Channel 20120917
3 Returning MESSAGE Value transfer Type reference (TYPE) STRING 20120917
4 Importing WAITING_TIME Call by reference Type reference (TYPE) I 30 20120917
# Exception Resumable Description Created on
1 CX_AMC_ERROR Error handling class for ABAP Messaging Channels (AMC) 20120917

Method REGISTER_CHANNEL_SIMPLE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANNEL_EXTENSION_ID Call by reference Type reference (TYPE) AMC_CHANNEL_EXTENSION_ID Extension to the Channel Ids 20120917
2 Importing IV_CHANNEL_ID Value transfer Type reference (TYPE) AMC_CHANNEL_ID Identifier of the ABAP Messaging Channel 20120917
3 Returning RO_RECEIVER Value transfer Object reference (TYPE REF TO) CL_AMC_PATTERN_TEST AMC pattern tests 20120917
# Exception Resumable Description Created on
1 CX_AMC_ERROR Error handling class for ABAP Messaging Channels (AMC) 20120917

Method REGISTER_CHANNEL_STRUC_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANNEL_EXTENSION_ID Call by reference Type reference (TYPE) AMC_CHANNEL_EXTENSION_ID Extension to the Channel Ids 20120917
2 Importing IV_CHANNEL_ID Value transfer Type reference (TYPE) AMC_CHANNEL_ID Identifier of the ABAP Messaging Channel 20120917
3 Returning RO_RECEIVER Value transfer Object reference (TYPE REF TO) CL_AMC_PATTERN_TEST AMC pattern tests 20120917
# Exception Resumable Description Created on
1 CX_AMC_ERROR Error handling class for ABAP Messaging Channels (AMC) 20120917

Method SEND_SIMPLE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANNEL_EXTENSION_ID Call by reference Type reference (TYPE) AMC_CHANNEL_EXTENSION_ID Extension to the Channel Ids 20120917
2 Importing IV_CHANNEL_ID Value transfer Type reference (TYPE) AMC_CHANNEL_ID Identifier of the ABAP Messaging Channel 20120917
3 Importing IV_MESSAGE Call by reference Type reference (TYPE) STRING 20120917
# Exception Resumable Description Created on
1 CX_AMC_ERROR Error handling class for ABAP Messaging Channels (AMC) 20120917

Method SEND_STRUCTURED_REQ_RESP_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANNEL_EXTENSION_ID Call by reference Type reference (TYPE) AMC_CHANNEL_EXTENSION_ID Extension to the Channel Ids 20120917
2 Importing IV_CHANNEL_ID Value transfer Type reference (TYPE) AMC_CHANNEL_ID Identifier of the ABAP Messaging Channel 20120917
3 Importing IV_MESSAGE Call by reference Type reference (TYPE) STRING 20120917
4 Importing IV_RESPONSE_CHANNEL_EXT_ID Call by reference Type reference (TYPE) AMC_CHANNEL_EXTENSION_ID Call back response extension to the Channel Ids 20120917
# Exception Resumable Description Created on
1 CX_AMC_ERROR Error handling class for ABAP Messaging Channels (AMC) 20120917

Method SEND_STRUCTURED_RESPONSE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANNEL_EXTENSION_ID Call by reference Type reference (TYPE) AMC_CHANNEL_EXTENSION_ID Extension to the Channel Ids 20120917
2 Importing IV_CHANNEL_ID Value transfer Type reference (TYPE) AMC_CHANNEL_ID Identifier of the ABAP Messaging Channel 20120917
3 Importing IV_MESSAGE Call by reference Type reference (TYPE) STRING 20120917
# Exception Resumable Description Created on
1 CX_AMC_ERROR Error handling class for ABAP Messaging Channels (AMC) 20120917

Method SEND_STRUCTURED_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANNEL_EXTENSION_ID Call by reference Type reference (TYPE) AMC_CHANNEL_EXTENSION_ID Extension to the Channel Ids 20120917
2 Importing IV_CHANNEL_ID Value transfer Type reference (TYPE) AMC_CHANNEL_ID Identifier of the ABAP Messaging Channel 20120917
3 Importing IV_MESSAGE Call by reference Type reference (TYPE) STRING 20120917
# Exception Resumable Description Created on
1 CX_AMC_ERROR Error handling class for ABAP Messaging Channels (AMC) 20120917
History
Last changed by/on SAP  20130531 
SAP Release Created in 805