Package org.biojava.bio.structure.server
Class StructureFetcherRunnable
- java.lang.Object
-
- org.biojava.bio.structure.server.StructureFetcherRunnable
-
- All Implemented Interfaces:
java.lang.Runnable
public class StructureFetcherRunnable extends java.lang.Object implements java.lang.Runnable
a Runnable class that talks to a PDBInstallation and requests a new protein structure. Once the structure has been loaded, the StructureListeners are notified of the new structure.- Author:
- Andreas Prlic
-
-
Constructor Summary
Constructors Constructor Description StructureFetcherRunnable(PDBInstallation installation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStructureListener(StructureListener listener)
void
clearListeners()
java.util.List<StructureListener>
getStructureListeners()
void
run()
-
-
-
Constructor Detail
-
StructureFetcherRunnable
public StructureFetcherRunnable(PDBInstallation installation)
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
getStructureListeners
public java.util.List<StructureListener> getStructureListeners()
-
addStructureListener
public void addStructureListener(StructureListener listener)
-
clearListeners
public void clearListeners()
-
-