protected static class AbstractByteReceiver.ConnectableAutomaton
extends org.refcodes.component.AbstractConnectableAutomaton
org.refcodes.component.ConnectableComponent.ConnectableAutomaton
org.refcodes.component.OpenedAccessor.OpenedMutator, org.refcodes.component.OpenedAccessor.OpenedProperty
org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
Modifier | Constructor and Description |
---|---|
protected |
ConnectableAutomaton() |
Modifier and Type | Method and Description |
---|---|
boolean |
isOpenable()
Checks if is openable.
|
void |
open()
Open.
|
void |
setConnectionStatus(org.refcodes.component.ConnectionStatus aConnectionStatus)
Sets the connection status.
|
close, getConnectionStatus, isClosable, isClosed, isOpened
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public boolean isOpenable()
isOpenable
in class org.refcodes.component.AbstractConnectableAutomaton
public void open() throws org.refcodes.component.OpenException
open
in class org.refcodes.component.AbstractConnectableAutomaton
org.refcodes.component.OpenException
- the open exceptionpublic void setConnectionStatus(org.refcodes.component.ConnectionStatus aConnectionStatus)
setConnectionStatus
in class org.refcodes.component.AbstractConnectableAutomaton
aConnectionStatus
- the new connection statusCopyright © 2018. All rights reserved.