java.lang.Object
org.refcodes.component.AbstractConnectable
org.refcodes.component.AbstractConnectableAutomaton
org.refcodes.io.AbstractBytesReceiver.ConnectableAutomaton
- All Implemented Interfaces:
org.refcodes.component.Closable
,org.refcodes.component.Closable.CloseAutomaton
,org.refcodes.component.ClosedAccessor
,org.refcodes.component.ConnectableComponent
,org.refcodes.component.ConnectableComponent.ConnectableAutomaton
,org.refcodes.component.ConnectionStatusAccessor
,org.refcodes.component.OpenedAccessor
- Enclosing class:
- AbstractBytesReceiver
protected static class AbstractBytesReceiver.ConnectableAutomaton
extends org.refcodes.component.AbstractConnectableAutomaton
The Class ConnectableAutomaton.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.Closable
org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
Nested classes/interfaces inherited from interface org.refcodes.component.ClosedAccessor
org.refcodes.component.ClosedAccessor.ClosedMutator, org.refcodes.component.ClosedAccessor.ClosedProperty
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectableComponent
org.refcodes.component.ConnectableComponent.ConnectableAutomaton
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionStatusAccessor
org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusProperty
Nested classes/interfaces inherited from interface org.refcodes.component.OpenedAccessor
org.refcodes.component.OpenedAccessor.OpenedMutator, org.refcodes.component.OpenedAccessor.OpenedProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
open()
void
setConnectionStatus
(org.refcodes.component.ConnectionStatus aConnectionStatus) Methods inherited from class org.refcodes.component.AbstractConnectableAutomaton
close, getConnectionStatus, isClosable, isClosed, isOpened
Methods inherited from class org.refcodes.component.AbstractConnectable
isThrownAsOfAlreadyClosed
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.Closable
closeIn, closeQuietly, closeUnchecked
-
Constructor Details
-
ConnectableAutomaton
protected ConnectableAutomaton()
-
-
Method Details
-
isOpenable
public boolean isOpenable()- Overrides:
isOpenable
in classorg.refcodes.component.AbstractConnectableAutomaton
-
open
- Overrides:
open
in classorg.refcodes.component.AbstractConnectableAutomaton
- Throws:
IOException
-
setConnectionStatus
public void setConnectionStatus(org.refcodes.component.ConnectionStatus aConnectionStatus) - Overrides:
setConnectionStatus
in classorg.refcodes.component.AbstractConnectableAutomaton
-