Package org.drasyl
Interface DrasylNodeComponent
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DirectClient
,DirectConnectionsManager
,IntraVmDiscovery
,LocalHostDiscovery
,Monitoring
,Server
,SuperPeerClient
public interface DrasylNodeComponent extends AutoCloseable
This interface describes components of theDrasylNode
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Stops the component.void
open()
Starts the component.
-
-
-
Method Detail
-
open
void open() throws DrasylException
Starts the component.- Throws:
DrasylException
- if error occurs during opening
-
close
void close()
Stops the component.- Specified by:
close
in interfaceAutoCloseable
-
-