adds an instant message listener to this chat transport . concode_field_sep ChatSession chatSession concode_elem_sep AdHocChatRoom adHocChatRoom concode_field_sep Object getDescriptor concode_elem_sep String getName concode_elem_sep FileTransfer sendMultimediaFile concode_elem_sep ProtocolProviderService getProtocolProvider concode_elem_sep PresenceStatus getStatus concode_elem_sep void correctInstantMessage concode_elem_sep boolean askForSMSNumber concode_elem_sep void addSmsMessageListener concode_elem_sep void removeSmsMessageListener concode_elem_sep boolean allowsSmsMessage concode_elem_sep boolean allowsMessageCorrections concode_elem_sep void sendInstantMessage concode_elem_sep void inviteChatContact concode_elem_sep boolean allowsTypingNotifications concode_elem_sep boolean isContentTypeSupported concode_elem_sep ChatSession getParentChatSession concode_elem_sep String getResourceName concode_elem_sep long getMaximumFileLength concode_elem_sep void sendSmsMessage concode_elem_sep void sendSmsMessage concode_elem_sep int sendTypingNotification concode_elem_sep FileTransfer sendFile concode_elem_sep String getDisplayName concode_elem_sep boolean allowsInstantMessage concode_elem_sep void removeInstantMessageListener concode_elem_sep void dispose concode_elem_sep boolean isDisplayResourceOnly
void function ( MessageListener arg0 ) { if ( ! allowsInstantMessage ( ) ) return ; OperationSetBasicInstantMessaging loc0 = adHocChatRoom . getParentProvider ( ) . getOperationSet ( OperationSetBasicInstantMessaging . class ) ; loc0 . addMessageListener ( arg0 ) ; }