test_class.declarator: exporter
test_class.modifier: private
test_class.original_string: private Exporter            exporter;
test_class.type: Exporter
test_class.var_name: exporter
test_class.declarator: sc
test_class.modifier: private
test_class.original_string: private ServerConnection    sc;
test_class.type: ServerConnection
test_class.var_name: sc
test_class.declarator: con
test_class.modifier: private
test_class.original_string: private BlobStoreConnection con;
test_class.type: BlobStoreConnection
test_class.var_name: con
test_class.file: akubra-rmi/src/test/java/org/akubraproject/rmi/server/ServerConnectionTest.java
test_class.identifier: ServerConnectionTest
test_case.body: @Test
    public void testListBlobIds() throws IOException {
      URI           id = URI.create("foo:bar");
      Iterator<URI> it = Arrays.asList(id).iterator();
  
      reset(con);
      expect(con.listBlobIds(null)).andReturn(it);
      replay(con);
  
      RemoteIterator<URI> ri = sc.listBlobIds(null);
      assertTrue(ri instanceof ServerIterator<?>);
      assertEquals(it, ((ServerIterator<URI>) ri).getIterator());
      verify(con);
    }
test_case.class_method_signature: ServerConnectionTest.testListBlobIds()
test_case.full_signature: @Test public void testListBlobIds()
test_case.identifier: testListBlobIds
test_case.invocations: create iterator asList reset andReturn expect listBlobIds replay listBlobIds assertTrue assertEquals getIterator verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testListBlobIds()
focal_class.declarator: serialVersionUID = 1L
focal_class.modifier: private static final
focal_class.original_string: private static final long         serialVersionUID = 1L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: con
focal_class.modifier: private final
focal_class.original_string: private final BlobStoreConnection con;
focal_class.type: BlobStoreConnection
focal_class.var_name: con
focal_class.file: akubra-rmi/src/main/java/org/akubraproject/rmi/server/ServerConnection.java
focal_class.identifier: ServerConnection
focal_class.interfaces: implements RemoteConnection
focal_class.class_method_signature: ServerConnection.ServerConnection(BlobStoreConnection con, Exporter exporter)
focal_class.full_signature: public  ServerConnection(BlobStoreConnection con, Exporter exporter)
focal_class.identifier: ServerConnection
focal_class.modifiers: public
focal_class.parameters: (BlobStoreConnection con, Exporter exporter)
focal_class.signature:  ServerConnection(BlobStoreConnection con, Exporter exporter)
focal_class.class_method_signature: ServerConnection.getBlob(URI id, Map<String, String> hints)
focal_class.full_signature: @Override public RemoteBlob getBlob(URI id, Map<String, String> hints)
focal_class.identifier: getBlob
focal_class.modifiers: @Override public
focal_class.parameters: (URI id, Map<String, String> hints)
focal_class.return: RemoteBlob
focal_class.signature: RemoteBlob getBlob(URI id, Map<String, String> hints)
focal_class.class_method_signature: ServerConnection.getBlobCreator(long estimatedSize, Map<String, String> hints)
focal_class.full_signature: @Override public RemoteBlobCreator getBlobCreator(long estimatedSize, Map<String, String> hints)
focal_class.identifier: getBlobCreator
focal_class.modifiers: @Override public
focal_class.parameters: (long estimatedSize, Map<String, String> hints)
focal_class.return: RemoteBlobCreator
focal_class.signature: RemoteBlobCreator getBlobCreator(long estimatedSize, Map<String, String> hints)
focal_class.class_method_signature: ServerConnection.listBlobIds(String filterPrefix)
focal_class.full_signature: @Override public RemoteIterator<URI> listBlobIds(String filterPrefix)
focal_class.identifier: listBlobIds
focal_class.modifiers: @Override public
focal_class.parameters: (String filterPrefix)
focal_class.return: RemoteIterator<URI>
focal_class.signature: RemoteIterator<URI> listBlobIds(String filterPrefix)
focal_class.class_method_signature: ServerConnection.sync()
focal_class.full_signature: @Override public void sync()
focal_class.identifier: sync
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void sync()
focal_class.class_method_signature: ServerConnection.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: ServerConnection.unreferenced()
focal_class.full_signature: @Override public void unreferenced()
focal_class.identifier: unreferenced
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void unreferenced()
focal_class.class_method_signature: ServerConnection.getConnection()
focal_class.full_signature:  BlobStoreConnection getConnection()
focal_class.identifier: getConnection
focal_class.parameters: ()
focal_class.return: BlobStoreConnection
focal_class.signature: BlobStoreConnection getConnection()
focal_class.superclass: extends UnicastExportable
focal_method.body: @Override
    public RemoteIterator<URI> listBlobIds(String filterPrefix)
                                    throws IOException {
      return new ServerIterator<URI>(con.listBlobIds(filterPrefix), getExporter());
    }
focal_method.class_method_signature: ServerConnection.listBlobIds(String filterPrefix)
focal_method.full_signature: @Override public RemoteIterator<URI> listBlobIds(String filterPrefix)
focal_method.identifier: listBlobIds
focal_method.invocations: listBlobIds getExporter
focal_method.modifiers: @Override public
focal_method.parameters: (String filterPrefix)
focal_method.return: RemoteIterator<URI>
focal_method.signature: RemoteIterator<URI> listBlobIds(String filterPrefix)