SAP ABAP Class CL_XMS_VIRUS_SCAN (Virus Scanner Integration)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-XI-IS-IEN (Application Component) Integration Engine
⤷
SXMSF (Package) XI: Integration Engine Runtime
⤷
⤷
Properties
| Class | CL_XMS_VIRUS_SCAN | |
| Short Description | Virus Scanner Integration | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SXMSF | XI: Integration Engine Runtime |
| Created | 20110919 | SAP |
| Last change | 20130531 | 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_XMS_VIRUS_SCAN has no interface implemented.
Friends
Class CL_XMS_VIRUS_SCAN has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | SXMSERRAREA | XI: System Error Area | 20110926 | |||
| 2 | Constant | Public | Type reference (TYPE) | CHAR1 | '1' | Single-Character Flag | 20110922 | ||
| 3 | Constant | Public | Type reference (TYPE) | SXMS_SCAN_CONFIG | '2' | Scan Configuration - Scan by Adapter | 20111010 | ||
| 4 | Constant | Public | Type reference (TYPE) | SXMS_SCAN_CONFIG | '0' | Scan Configuration - Use Global | 20110926 | ||
| 5 | Constant | Public | Type reference (TYPE) | SXMS_SCAN_CONFIG | '1' | Scan Configuration - No Scan | 20111010 | ||
| 6 | Constant | Public | Type reference (TYPE) | CHAR1 | '0' | Single-Character Flag | 20111011 | ||
| 7 | Constant | Public | Type reference (TYPE) | SXMSTSNAM | 'VIRUS_SCAN_INBOUND' | Name of a Time Stamp | 20110927 | ||
| 8 | Constant | Public | Type reference (TYPE) | SXMS_SCAN_MODE | '1' | Scan Mode | 20110922 | ||
| 9 | Constant | Public | Type reference (TYPE) | SXMS_SCAN_MODE | '2' | Scan Mode | 20110922 | ||
| 10 | Constant | Public | Type reference (TYPE) | SXMS_SCAN_TYPE | '2' | Scan Type | 20110922 | ||
| 11 | Constant | Public | Type reference (TYPE) | SXMS_SCAN_TYPE | '1' | Scan Type | 20110922 | ||
| 12 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Scan Active | 20110922 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | SXMS_SCAN_MODE | Scan Mode | 20110922 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | VSCAN_PROFILE | Scan Profile | 20110922 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | SXMS_SCAN_TYPE | Scan Type | 20110922 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20110922 | |
| 2 | Instance method | Public | Method | Scan Active? | 20110927 | |
| 3 | Instance method | Public | Method | Scan Configured? | 20110926 | |
| 4 | Instance method | Private | Method | Throw Exception | 20110927 | |
| 5 | Instance method | Public | Method | Scan Attachment | 20110927 | |
| 6 | Instance method | Public | Method | Scan Message | 20110922 | |
| 7 | Instance method | Public | Method | Scan Payload | 20110927 | |
| 8 | Instance method | Private | Method | VSI Get Instance | 20110926 | |
| 9 | Instance method | Private | Method | VSI Scan Bytes | 20110926 |
Events
Class CL_XMS_VIRUS_SCAN has no event.
Types
Class CL_XMS_VIRUS_SCAN has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_XMS_VIRUS_SCAN has no parameter.
Method CONSTRUCTOR on class CL_XMS_VIRUS_SCAN has no exception.
Method IS_VIRUS_SCAN_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_VIRUS_SCAN_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XI: Virus Scan Error | 20110927 |
Method IS_VIRUS_SCAN_CONFIGURED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_BINDING | Call by reference | Object reference (TYPE REF TO) | CL_SRV_BINDING | XI Services: In, Out & P2P Binding Runtime | 20110926 | |||
| 2 | IM_USE_GLOBAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20110928 | |||
| 3 | RE_VIRUS_SCAN_CONFIGURED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XI: Virus Scan Error | 20110927 |
Method RAISE_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID | Call by reference | Type reference (TYPE) | SXMSERRID | XI: Error ID | 20110927 | |||
| 2 | INFO | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110927 | ||||
| 3 | P1 | Call by reference | Type reference (TYPE) | STRING | 20110927 | ||||
| 4 | P2 | Call by reference | Type reference (TYPE) | STRING | 20110927 | ||||
| 5 | P3 | Call by reference | Type reference (TYPE) | STRING | 20110927 | ||||
| 6 | P4 | Call by reference | Type reference (TYPE) | STRING | 20110927 | ||||
| 7 | PREVIOUS | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20110927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Virus Scan Error | 20110927 |
Method SCAN_ATTACHMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DATA | Call by reference | Type reference (TYPE) | XSTRING | Attachment Data | 20110927 | |||
| 2 | IM_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Content Type | 20111011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XI: Virus Scan Error | 20110927 |
Method SCAN_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MESSAGE | Call by reference | Object reference (TYPE REF TO) | IF_XMS_MESSAGE_XMB | Higher Level Message Interface | 20110922 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XI: Virus Scan Error | 20110926 |
Method SCAN_PAYLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PAYLOAD | Call by reference | Type reference (TYPE) | XSTRING | Payload Data | 20110927 | |||
| 2 | IM_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | IF_XMS_RESOURCE=>TEXTRESOURCE | Content Type | 20111011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XI: Virus Scan Error | 20110927 |
Method VSI_GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VSI | Call by reference | Object reference (TYPE REF TO) | CL_VSI | Virus Scan API for Application Developers | 20110926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XI: Virus Scan Error | 20110926 |
Method VSI_SCAN_BYTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20110926 | ||||
| 2 | IM_VSI | Call by reference | Object reference (TYPE REF TO) | CL_VSI | Virus Scan API for Application Developers | 20110926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XI: Virus Scan Error | 20110926 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |