add a service with a given gateway concode_field_sep GSMServiceRepository me concode_elem_sep Map<String,Service> serviceRepo concode_field_sep void removeService concode_elem_sep GSMServiceRepository getInstence concode_elem_sep boolean gatewayInUse concode_elem_sep Service getService
void function ( String arg0 , Service arg1 ) { if ( ! gatewayInUse ( arg0 ) ) { serviceRepo . put ( arg0 , arg1 ) ; } }