SAP ABAP Class CL_APC_WS_CLIENT (APC framework: APC WebSocket client class)
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_CLIENT | APC framework: WebSocket client interface (do not implement) | 20130214 |
Properties
| Class | CL_APC_WS_CLIENT | |
| Short Description | APC framework: APC WebSocket client class | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SAPC_RUNTIME | APC runtime package |
| Created | 20130214 | 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_CLIENT | APC framework: WebSocket client interface (do not implement) | 20130214 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_ABAP_APC_DISPATCHER | 20130219 | Dispatcher for AMC Messages | |
| 2 | CL_APC_WS_CLIENT_MANAGER | 20130215 | APC framework: Manager class for APC WebSocket Client | |
| 3 | CL_APC_WS_INITIAL_REQUEST | 20130215 | APC framework: Initial request at WebSocket connection setup |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Attribute reference (LIKE) | 20130218 | |||||
| 2 | Instance attribute | Public | Attribute reference (LIKE) | 20130305 | |||||
| 3 | Instance attribute | Public | Attribute reference (LIKE) | 20130218 | |||||
| 4 | Instance attribute | Public | Attribute reference (LIKE) | 20130218 | |||||
| 5 | Instance attribute | Public | Attribute reference (LIKE) | 20130218 | |||||
| 6 | Constant | Private | Type reference (TYPE) | I | 2 | Create APC by destination | 20130222 | ||
| 7 | Constant | Private | Type reference (TYPE) | I | 1 | Create APC by URL | 20130222 | ||
| 8 | Instance attribute | Public | Attribute reference (LIKE) | 20130214 | |||||
| 9 | Instance attribute | Public | Attribute reference (LIKE) | 20130214 | |||||
| 10 | Static Attribute | Private | Type reference (TYPE) | GT_REGISTERED_CLIENTS | 20130215 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | SYSUUID_C | Client ID | 20130215 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | I | Creation type of APC client | 20130222 | |||
| 13 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_APC_WS_CLIENT_EVENT_HANDLER | APC framework: WebSocket client interface | 20130215 | |||
| 14 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HTTP_CLIENT | HTTP Client Abstraction | 20130214 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | GT_HTTP_CLIENT_STATISTIC | 20130610 | ||||
| 16 | Instance attribute | Private | Type reference (TYPE) | STRING | HTTP destiantion in use | 20130222 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | STRING | HTTP URL in use | 20130222 | |||
| 18 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_APC_WS_INITIAL_REQUEST | APC framework: Initial request at WebSocket connection setup | 20130214 | |||
| 19 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_APC_WS_MESSAGE_MANAGER | APC framework: WebSocket message manager | 20130214 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | I | WebSocket Connection state | 20130218 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | VSCAN_PROFILE | Virus Scan Profile | 20130214 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | VSCAN_PROFILE | Virus Scan Profile | 20130214 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | STRING | WeBSocket subprotocol | 20130214 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20130214 | ||
| 2 | Instance method | Public | Method | 20130214 | ||
| 3 | Instance method | Private | Method | Create HTTP client by destination | 20130222 | |
| 4 | Instance method | Private | Method | Create HTTP client by URL | 20130222 | |
| 5 | Instance method | Public | Method | 20130214 | ||
| 6 | Instance method | Public | Destructor | Destructor for APC clients in kernel | 20130218 | |
| 7 | Static method | Private | Method | Dispatch messages to the subscribed clients | 20130215 | |
| 8 | Instance method | Public | Method | 20130218 | ||
| 9 | Instance method | Private | Method | Set HTTP client statitics for APC WS | 20130610 | |
| 10 | Instance method | Public | Method | 20130214 | ||
| 11 | Instance method | Private | Method | Execute ON_OPEN event | 20130215 | |
| 12 | Instance method | Public | Method | 20130214 | ||
| 13 | Instance method | Public | Method | 20130214 |
Events
Class CL_APC_WS_CLIENT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GT_HTTP_CLIENT_STATISTIC | Private | See coding | 20130610 | BEGIN OF gt_http_client_statistic,
protocol TYPE i,
host TYPE string,
port TYPE string,
path TYPE string,
END OF gt_http_client_statistic
|
||
| 2 | GT_REGISTERED_CLIENT | Private | See coding | 20130215 | BEGIN OF gt_registered_client,
client_id TYPE sysuuid_c,
client TYPE REF TO cl_apc_ws_client, " cl_abap_weak_reference, "
event_handler TYPE REF TO if_apc_ws_client_event_handler,
END OF gt_registered_client
|
||
| 3 | GT_REGISTERED_CLIENTS | Private | See coding | 20130215 | gt_registered_clients TYPE HASHED TABLE OF gt_registered_client
WITH UNIQUE KEY client_id
|
Method Signatures
Method CLOSE Signature
Method CLOSE on class CL_APC_WS_CLIENT has no parameter.
Method CLOSE on class CL_APC_WS_CLIENT has no exception.
Method CONNECT Signature
Method CONNECT on class CL_APC_WS_CLIENT has no parameter.
Method CONNECT on class CL_APC_WS_CLIENT has no exception.
Method CREATE_BY_DESTINATION Signature
Method CREATE_BY_DESTINATION on class CL_APC_WS_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | APC framework: Error handling class for ABAP Push Channel | 20130225 |
Method CREATE_BY_URL Signature
Method CREATE_BY_URL on class CL_APC_WS_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | APC framework: Error handling class for ABAP Push Channel | 20130225 |
Method CREATE_MESSAGE Signature
Method CREATE_MESSAGE on class CL_APC_WS_CLIENT has no parameter.
Method CREATE_MESSAGE on class CL_APC_WS_CLIENT has no exception.
Method DESTRUCTOR Signature
Method DESTRUCTOR on class CL_APC_WS_CLIENT has no parameter.
Method DESTRUCTOR on class CL_APC_WS_CLIENT has no exception.
Method DISPATCH Signature
Method DISPATCH on class CL_APC_WS_CLIENT has no parameter.
Method DISPATCH on class CL_APC_WS_CLIENT has no exception.
Method GET_CONNECTION_STATE Signature
Method GET_CONNECTION_STATE on class CL_APC_WS_CLIENT has no parameter.
Method GET_CONNECTION_STATE on class CL_APC_WS_CLIENT has no exception.
Method GET_HTTP_KERNEL_STATATISTIC Signature
Method GET_HTTP_KERNEL_STATATISTIC on class CL_APC_WS_CLIENT has no parameter.
Method GET_HTTP_KERNEL_STATATISTIC on class CL_APC_WS_CLIENT has no exception.
Method GET_INITIAL_REQUEST Signature
Method GET_INITIAL_REQUEST on class CL_APC_WS_CLIENT has no parameter.
Method GET_INITIAL_REQUEST on class CL_APC_WS_CLIENT has no exception.
Method ON_OPEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLIENT | Call by reference | Object reference (TYPE REF TO) | IF_APC_WS_CLIENT | APC framework: WebSocket client interface (do not implement) | 20130215 | |||
| 2 | I_EVENT_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_APC_WS_CLIENT_EVENT_HANDLER | APC framework: WebSocket client interface | 20130215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | APC framework: Error handling class for ABAP Push Channel | 20130225 |
Method SEND Signature
Method SEND on class CL_APC_WS_CLIENT has no parameter.
Method SEND on class CL_APC_WS_CLIENT has no exception.
Method SET_VIRUS_SCAN_PROFILE Signature
Method SET_VIRUS_SCAN_PROFILE on class CL_APC_WS_CLIENT has no parameter.
Method SET_VIRUS_SCAN_PROFILE on class CL_APC_WS_CLIENT has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |