SAP ABAP Class CL_APC_WS_MESSAGE (APC framework: WebSocket message handling)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-AC (Application Component) ABAP Channels
⤷
SAPC_RUNTIME (Package) APC runtime package
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_APC_WS_MESSAGE | APC framework: Message interface (do not implement) | 20120903 |
Properties
| Class | CL_APC_WS_MESSAGE | |
| Short Description | APC framework: WebSocket message handling | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SAPC_RUNTIME | APC runtime package |
| Created | 20120903 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_APC_WS_MESSAGE | APC framework: Message interface (do not implement) | 20120903 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_APC_MANAGER | 20120917 | ABAP Push Channel (APC) WebSocket (WS) framework manager | |
| 2 | CL_APC_WS_CLIENT | 20130215 | APC framework: APC WebSocket client class | |
| 3 | CL_APC_WS_MESSAGE_MANAGER | 20121120 | APC framework: WebSocket message manager |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | I | 2 | Incoming WebSocket message | 20121204 | ||
| 2 | Constant | Private | Type reference (TYPE) | I | 1 | Incoming WebSocket message | 20121204 | ||
| 3 | Instance attribute | Public | Attribute reference (LIKE) | 20121126 | |||||
| 4 | Instance attribute | Public | Attribute reference (LIKE) | 20121126 | |||||
| 5 | Constant | Private | Type reference (TYPE) | I | 100 | Accessing method failed | 20121204 | ||
| 6 | Constant | Private | Type reference (TYPE) | I | 3 | Outgoing WebSocket message | 20121204 | ||
| 7 | Instance attribute | Private | Type reference (TYPE) | APC_APPL_V | Generated Table for View | 20121024 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | XSTRING | 20121119 | ||||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_APC_WS_CONTEXT | APC framework: WebSocket context interface | 20120917 | |||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HTTP_REQUEST | HTTP Framework (iHTTP) HTTP Request | 20120917 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | I | Used message type (CO_MESSAGE_TYPE_*) | 20130213 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | I | WebSocket message type (incoming/outgoing) | 20121204 | |||
| 13 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_VSI | Virus Scan API for Application Developers | 20121019 | |||
| 14 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_VSI | Virus Scan API for Application Developers | 20121024 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | STRING | 20121119 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Create APC WebSocket incoming message object | 20120917 | |
| 2 | Static method | Private | Method | Create APC WebSocket outgoing message object | 20120917 | |
| 3 | Instance method | Public | Method | 20120917 | ||
| 4 | Instance method | Public | Method | 20121119 | ||
| 5 | Instance method | Public | Method | 20120917 | ||
| 6 | Instance method | Public | Method | 20120917 | ||
| 7 | Instance method | Public | Method | 20120917 | ||
| 8 | Instance method | Public | Method | 20120917 | ||
| 9 | Instance method | Private | Method | Check message content via virus scanner | 20121030 |
Events
Class CL_APC_WS_MESSAGE has no event.
Types
Class CL_APC_WS_MESSAGE has no local type.
Method Signatures
Method CREATE_INCOMING_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLICATION | Call by reference | Type reference (TYPE) | APC_APPL_V | Generated Table for View | 20121024 | |||
| 2 | I_BINARY_MESSAGE | Call by reference | Type reference (TYPE) | XSTRING | 20121204 | ||||
| 3 | I_HTTP_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_REQUEST | HTTP Framework (iHTTP) HTTP Request | 20121024 | |||
| 4 | I_TEXT_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20121204 | ||||
| 5 | R_MESSAGE | Value transfer | Object reference (TYPE REF TO) | IF_APC_WS_MESSAGE | APC framework: WebSocket message interface | 20120903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | APC framework: Error handling class for ABAP Push Channel | 20120903 |
Method CREATE_OUTGOING_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLICATION | Call by reference | Type reference (TYPE) | APC_APPL_V | Generated Table for View | 20121024 | |||
| 2 | R_MESSAGE | Value transfer | Object reference (TYPE REF TO) | IF_APC_WS_MESSAGE | APC framework: WebSocket message interface | 20121024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | APC framework: Error handling class for ABAP Push Channel | 20121024 |
Method GET_BINARY Signature
Method GET_BINARY on class CL_APC_WS_MESSAGE has no parameter.
Method GET_BINARY on class CL_APC_WS_MESSAGE has no exception.
Method GET_CONTEXT Signature
Method GET_CONTEXT on class CL_APC_WS_MESSAGE has no parameter.
Method GET_CONTEXT on class CL_APC_WS_MESSAGE has no exception.
Method GET_MESSAGE_TYPE Signature
Method GET_MESSAGE_TYPE on class CL_APC_WS_MESSAGE has no parameter.
Method GET_MESSAGE_TYPE on class CL_APC_WS_MESSAGE has no exception.
Method GET_TEXT Signature
Method GET_TEXT on class CL_APC_WS_MESSAGE has no parameter.
Method GET_TEXT on class CL_APC_WS_MESSAGE has no exception.
Method SET_BINARY Signature
Method SET_BINARY on class CL_APC_WS_MESSAGE has no parameter.
Method SET_BINARY on class CL_APC_WS_MESSAGE has no exception.
Method SET_TEXT Signature
Method SET_TEXT on class CL_APC_WS_MESSAGE has no parameter.
Method SET_TEXT on class CL_APC_WS_MESSAGE has no exception.
Method VIRUS_SCAN_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MESSAGE_BINARY | Call by reference | Type reference (TYPE) | XSTRING | 20121031 | ||||
| 2 | I_MESSAGE_TEXT | Call by reference | Type reference (TYPE) | STRING | 20121031 | ||||
| 3 | I_VSI | Call by reference | Object reference (TYPE REF TO) | CL_VSI | Virus Scan API for Application Developers | 20130109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | APC framework: Error handling class for ABAP Push Channel | 20121030 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 805 |