this method logs you out from this gateway by sending an unavailable presence to directly to this gateway . concode_field_sep Roster roster concode_elem_sep Registration registerInfo concode_elem_sep Identity identity concode_elem_sep ServiceDiscoveryManager sdManager concode_elem_sep String entityJID concode_elem_sep Connection connection concode_elem_sep DiscoverInfo info concode_field_sep String getName concode_elem_sep Registration getRegisterInfo concode_elem_sep String getField concode_elem_sep void unregister concode_elem_sep List<String> getRequiredFields concode_elem_sep String getInstructions concode_elem_sep void login concode_elem_sep void login concode_elem_sep void processPacket concode_elem_sep List<String> getFieldNames concode_elem_sep String getUsername concode_elem_sep boolean canRegister concode_elem_sep String getPassword concode_elem_sep String getType concode_elem_sep Identity getIdentity concode_elem_sep void refreshRegisterInfo concode_elem_sep boolean isRegistered concode_elem_sep void discoverInfo concode_elem_sep void register concode_elem_sep void register
void function ( ) { Presence loc0 = new Presence ( Presence . Type . unavailable ) ; loc0 . setTo ( entityJID ) ; loc0 . setFrom ( connection . getUser ( ) ) ; connection . sendPacket ( loc0 ) ; }