public List < ModelServiceInstance > getAllInstances ( ) { ProtocolHeader header = new ProtocolHeader ( ) ; header . setType ( ProtocolType . GetAllServices ) ; GetAllServicesResponse resp = ( GetAllServicesResponse ) connection . submitRequest ( header , null , null ) ; return resp . getInstances ( ) ; }
Get All ModelServiceInstance in the ServiceDirectory .