Package org.refcodes.component
Class AbstractDeviceAutomaton
- java.lang.Object
-
- org.refcodes.component.AbstractConnectableAutomaton
-
- org.refcodes.component.AbstractDeviceAutomaton
-
- All Implemented Interfaces:
Closable,Closable.CloseAutomaton,ClosedAccessor,ConnectableComponent,ConnectableComponent.ConnectableAutomaton,ConnectionStatusAccessor,LinkComponent,LinkComponent.LinkAutomaton,Openable,Openable.OpenAutomaton,OpenedAccessor
public abstract class AbstractDeviceAutomaton extends AbstractConnectableAutomaton implements LinkComponent.LinkAutomaton
TheAbstractDeviceAutomatonimplements the very basicAbstractDeviceAutomatonfunctionality.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.Closable
Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.ClosedAccessor
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectableComponent
ConnectableComponent.ConnectableAutomaton
-
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionStatusAccessor
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.LinkComponent
LinkComponent.LinkAutomaton, LinkComponent.LinkComponentBuilder<B extends LinkComponent.LinkComponentBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.Openable
Openable.OpenAutomaton, Openable.OpenBuilder<B extends Openable.OpenBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.OpenedAccessor
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
-
-
Constructor Summary
Constructors Constructor Description AbstractDeviceAutomaton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOpenable()Checks if is openable.voidopen()Open.-
Methods inherited from class org.refcodes.component.AbstractConnectableAutomaton
close, getConnectionStatus, isClosable, isClosed, isOpened, setConnectionStatus
-
Methods inherited from interface org.refcodes.component.Closable
close, closeIn, closeQuietly, closeUnchecked
-
Methods inherited from interface org.refcodes.component.Closable.CloseAutomaton
isClosable
-
Methods inherited from interface org.refcodes.component.ClosedAccessor
isClosed
-
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isConnectionOpened
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.refcodes.component.Openable
openUnchecked
-
Methods inherited from interface org.refcodes.component.OpenedAccessor
isOpened
-
-
-
-
Method Detail
-
isOpenable
public boolean isOpenable()
Checks if is openable.- Specified by:
isOpenablein interfaceOpenable.OpenAutomaton- Overrides:
isOpenablein classAbstractConnectableAutomaton- Returns:
- true, if is openable
- See Also:
Openable.OpenAutomaton.isOpenable()
-
open
public void open() throws OpenExceptionOpen.- Specified by:
openin interfaceOpenable- Overrides:
openin classAbstractConnectableAutomaton- Throws:
OpenException- the open exception- See Also:
Openable.open()
-
-