public abstract class Protocol extends Object
The protocols implemented by the diva.pod package are defined as inner classes here, so that nice names of the form Protocol.Graph result. However, additional protocols can be created simply by subclassing Protocol.
Modifier and Type | Class and Description |
---|---|
class |
Protocol.Graph
The Graph protocol.
|
class |
Protocol.Layout
The Layout protocol.
|
Modifier | Constructor and Description |
---|---|
protected |
Protocol(String name)
Subclasses must have a private constructor that calls
this constructor with the protocol name.
|
Modifier and Type | Method and Description |
---|---|
abstract Protocol |
getInstance()
Get the single instance of this protocol class.
|
String |
getName()
Get the name of this protocol.
|
protected Protocol(String name)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.