SAP ABAP Class CL_WDR_TEST_CHAT_SHM (Channel Management for Web Dynpro)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-ABA (Application Component) Web Dynpro ABAP
     SWDP_TEST (Package) Web Dynpro: Tests
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SHM_BUILD_INSTANCE Flag Interface: Area Constructor for Shared Objects 20050531
Properties
Class CL_WDR_TEST_CHAT_SHM  
Short Description Channel Management for Web Dynpro    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWDP_TEST   Web Dynpro: Tests 
Created 20050531   SAP 
Last change 20070911   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)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SHM_BUILD_INSTANCE Flag Interface: Area Constructor for Shared Objects 20050531
Friends
Class CL_WDR_TEST_CHAT_SHM has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_CHANNELS Instance attribute Public Type reference (TYPE) TT_CHANNELS 20050531
2 MT_DIFFS_PER_USER Instance attribute Public Type reference (TYPE) TT_DIFFS_PER_USER 20050531
3 MT_LOGGED_IN_USERS Instance attribute Public Type reference (TYPE) TT_USER_REF 20050531
Methods
# Method Level Visibility Method type Description Created on
1 ATTACH_FOR_UPDATE Instance method Protected Method 20050531
2 COMMIT Instance method Protected Method 20050531
3 CREATE_CHANNEL Instance method Public Method Creates a New Chat Channel 20050531
4 GET_CHANNELS Instance method Public Method 20050531
5 GET_CHANNEL_MSGS Instance method Public Method 20050623
6 GET_CHANNEL_USERS Instance method Public Method 20050601
7 IS_CHANNELS_DIFF Instance method Public Method 20050601
8 IS_CHANNEL_MSGS_DIFF Instance method Public Method 20050601
9 IS_CHANNEL_USERS_DIFF Instance method Public Method 20050601
10 IS_DIFF_FOR_USER Instance method Public Method 20050601
11 JOIN_CHANNEL Instance method Public Method Join Chat Channel 20050531
12 LEAVE_CHANNEL Instance method Public Method Exit Chat Channel 20050531
13 LOGIN Instance method Public Method Log on User 20050531
14 LOGOUT Instance method Public Method Log off Current User 20050531
15 POST_MESSAGE Instance method Public Method 20050531
16 REMOVE_CHANNEL Instance method Public Method Deletes Chat Channel 20050531
17 ROLLBACK Instance method Protected Method 20050531
Events
Class CL_WDR_TEST_CHAT_SHM has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_CHANNELS Public See coding 20050531 TT_CHANNELS type sorted table of t_channel with unique key id
2 TT_DIFFS_PER_USER Public See coding 20050531 tt_diffs_per_user type hashed table of t_diff_per_user with unique key user_id
3 TT_MESSAGES Public See coding 20050623 tt_messages type standard table of t_message with default key
4 TT_USERS Public See coding 20050531 TT_users type sorted table of t_user with unique key id
5 TT_USER_REF Public See coding 20050531 tt_user_ref type sorted table of t_user_id with unique key table_line
6 T_CHANNEL Public See coding 20050531 begin of T_CHANNEL, id type string, description type string, users type tt_user_ref, messages type tt_messages, end of t_channel
7 T_DIFF_PER_USER Public See coding 20050531 begin of t_diff_per_user, user_id type t_user_id, channels_changed type abap_bool, channel_users_changed type abap_bool, channel_msgs_changed type abap_bool, end of t_diff_per_user
8 T_MESSAGE Public See coding 20050623 begin of t_message, from_user_id type t_user_id, text type string, is_system_message type wdy_boolean, final_formatted_message type string, end of t_message
9 T_USER Public See coding 20050531 begin of T_USER, id type t_user_id, first_name type string, last_name type string, end of t_user
10 T_USER_ID Public Type reference (TYPE) STRING 20050531
Method Signatures

Method ATTACH_FOR_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_HANDLER Value transfer Object reference (TYPE REF TO) CL_WDR_TEST_CHAT_SHM_AREA Web Dynpro Chat - Test des Pollings 20050531

Method ATTACH_FOR_UPDATE on class CL_WDR_TEST_CHAT_SHM has no exception.

Method COMMIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HANDLER Value transfer Object reference (TYPE REF TO) CL_WDR_TEST_CHAT_SHM_AREA Web Dynpro Chat - Test des Pollings 20050531

Method COMMIT on class CL_WDR_TEST_CHAT_SHM has no exception.

Method CREATE_CHANNEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DESCRIPTION Value transfer Type reference (TYPE) STRING 20050531
2 Importing I_ID Value transfer Type reference (TYPE) STRING 20050531
3 Importing I_MESSAGE_MANAGER Value transfer Object reference (TYPE REF TO) IF_WD_MESSAGE_MANAGER Message-Manager 20050531
4 Returning R_HAS_ERRORS Value transfer Type reference (TYPE) ABAP_BOOL 20050531

Method CREATE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no exception.

Method GET_CHANNELS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_CHANNELS Value transfer Type reference (TYPE) TT_CHANNELS 20050531

Method GET_CHANNELS on class CL_WDR_TEST_CHAT_SHM has no exception.

Method GET_CHANNEL_MSGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANNEL_ID Value transfer Type reference (TYPE) STRING 20050623
2 Returning RT_CHANNEL_MSGS Value transfer Type reference (TYPE) TT_MESSAGES 20050623

Method GET_CHANNEL_MSGS on class CL_WDR_TEST_CHAT_SHM has no exception.

Method GET_CHANNEL_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANNEL_ID Value transfer Type reference (TYPE) STRING 20050601
2 Returning RT_CHANNEL_USERS Value transfer Type reference (TYPE) TT_USER_REF 20050601

Method GET_CHANNEL_USERS on class CL_WDR_TEST_CHAT_SHM has no exception.

Method IS_CHANNELS_DIFF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_USER_ID Value transfer Type reference (TYPE) T_USER_ID 20050601
2 Returning R_CHANNELS_CHANGED Value transfer Type reference (TYPE) ABAP_BOOL 20050601

Method IS_CHANNELS_DIFF on class CL_WDR_TEST_CHAT_SHM has no exception.

Method IS_CHANNEL_MSGS_DIFF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_USER_ID Value transfer Type reference (TYPE) T_USER_ID 20050601
2 Returning R_CHANNEL_MSGS_CHANGED Value transfer Type reference (TYPE) ABAP_BOOL 20050601

Method IS_CHANNEL_MSGS_DIFF on class CL_WDR_TEST_CHAT_SHM has no exception.

Method IS_CHANNEL_USERS_DIFF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_USER_ID Value transfer Type reference (TYPE) T_USER_ID 20050601
2 Returning R_CHANNEL_USERS_CHANGED Value transfer Type reference (TYPE) ABAP_BOOL 20050601

Method IS_CHANNEL_USERS_DIFF on class CL_WDR_TEST_CHAT_SHM has no exception.

Method IS_DIFF_FOR_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CHANNELS_CHANGED Value transfer Type reference (TYPE) ABAP_BOOL 20050601
2 Exporting E_CHANNEL_MSGS_CHANGED Value transfer Type reference (TYPE) ABAP_BOOL 20050601
3 Exporting E_CHANNEL_USERS_CHANGED Value transfer Type reference (TYPE) ABAP_BOOL 20050601
4 Importing I_USER_ID Value transfer Type reference (TYPE) ABAP_BOOL 20050601

Method IS_DIFF_FOR_USER on class CL_WDR_TEST_CHAT_SHM has no exception.

Method JOIN_CHANNEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANNEL_ID Value transfer Type reference (TYPE) STRING 20050531
2 Importing I_USER_ID Value transfer Type reference (TYPE) STRING 20050531

Method JOIN_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no exception.

Method LEAVE_CHANNEL Signature

Method LEAVE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no parameter.
Method LEAVE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no exception.

Method LOGIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MESSAGE_MANAGER Value transfer Object reference (TYPE REF TO) IF_WD_MESSAGE_MANAGER Message-Manager 20050531
2 Importing I_USER_ID Value transfer Type reference (TYPE) STRING 20050531
3 Returning R_HAS_ERRORS Value transfer Type reference (TYPE) ABAP_BOOL 20050531

Method LOGIN on class CL_WDR_TEST_CHAT_SHM has no exception.

Method LOGOUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_USER_ID Value transfer Type reference (TYPE) T_USER_ID 20050531

Method LOGOUT on class CL_WDR_TEST_CHAT_SHM has no exception.

Method POST_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANNEL_ID Value transfer Type reference (TYPE) STRING 20050623
2 Importing I_IS_SYSTEM_MESSAGE Value transfer Type reference (TYPE) ABAP_BOOL 20050623
3 Importing I_TEXT Value transfer Type reference (TYPE) STRING 20050531
4 Importing I_USER_ID Value transfer Type reference (TYPE) T_USER_ID 20050623

Method POST_MESSAGE on class CL_WDR_TEST_CHAT_SHM has no exception.

Method REMOVE_CHANNEL Signature

Method REMOVE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no parameter.
Method REMOVE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no exception.

Method ROLLBACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HANDLER Value transfer Object reference (TYPE REF TO) CL_WDR_TEST_CHAT_SHM_AREA Channel Management für Web Dynpro 20050531

Method ROLLBACK on class CL_WDR_TEST_CHAT_SHM has no exception.
History
Last changed by/on SAP  20070911 
SAP Release Created in 710