Flushable, 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.ConnectionComponent<OutputStream>, org.refcodes.component.ConnectionComponent.ConnectionAutomaton<OutputStream>, org.refcodes.component.ConnectionOpenable<OutputStream>, org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<OutputStream>, org.refcodes.component.ConnectionStatusAccessor, org.refcodes.component.Flushable, org.refcodes.component.OpenedAccessor, ByteBlockConsumer, ByteBlockSender, ByteConsumer, ByteDatagramConsumer, ByteDatagramSender, ByteSender, ConnectionByteSender<OutputStream>, OutputStreamConnectionByteSender, Sendablepublic class OutputStreamConnectionByteSenderImpl extends AbstractByteSender implements OutputStreamConnectionByteSender
OutputStreamConnectionSender interface.org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>org.refcodes.component.ClosedAccessor.ClosedMutator, org.refcodes.component.ClosedAccessor.ClosedPropertyorg.refcodes.component.ConnectableComponent.ConnectableAutomatonorg.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON extends Object>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON extends Object,B extends org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON,B>>org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<CON extends Object>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON extends Object,B extends org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON,B>>org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusProperty| Constructor | Description |
|---|---|
OutputStreamConnectionByteSenderImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
|
boolean |
isOpenable(OutputStream aOutputStream) |
|
void |
open(OutputStream aOutputStream) |
|
void |
writeDatagram(byte aDatagram) |
Writes (sends) a byte.
|
writeDatagramsgetConnectionStatus, isClosable, isClosed, isOpenable, isOpened, open, setConnectionStatuswriteDatagramswriteDatagramscloseIn, closeQuietly, closeUncheckedgetConnectionStatus, isConnectionOpenedpublic OutputStreamConnectionByteSenderImpl()
public void open(OutputStream aOutputStream) throws org.refcodes.component.OpenException
open in interface org.refcodes.component.ConnectionOpenable<OutputStream>org.refcodes.component.OpenExceptionpublic boolean isOpenable(OutputStream aOutputStream)
isOpenable in interface org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<OutputStream>public void flush()
throws org.refcodes.component.OpenException
flush in interface ByteSenderflush in interface Flushableflush in interface org.refcodes.component.Flushableorg.refcodes.component.OpenExceptionpublic void close()
throws org.refcodes.component.CloseException
close in interface org.refcodes.component.Closableclose in class org.refcodes.component.AbstractConnectableAutomatonorg.refcodes.component.CloseExceptionpublic void writeDatagram(byte aDatagram)
throws org.refcodes.component.OpenException
writeDatagram in interface ByteConsumerwriteDatagram in interface ByteDatagramConsumeraDatagram - The byte to be pushed.org.refcodes.component.OpenException - Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2018. All rights reserved.