DATA
- The type of the datagram to be operated with.public class InputStreamConnectionReceiverImpl<DATA extends Serializable> extends AbstractInputStreamReceiver<DATA> implements InputStreamConnectionReceiver<DATA>
InputStreamConnectionReceiver
interface.ConnectableComponent.ConnectableAutomaton
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
Closable.CloseAutomaton
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
ConnectionComponent.ConnectionAutomaton<CON>
ConnectionOpenable.ConnectionOpenAutomaton<CON>
Constructor and Description |
---|
InputStreamConnectionReceiverImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isOpenable(InputStream aInputStream) |
void |
open(InputStream aInputStream) |
close, hasDatagram, readDatagram, releaseAll
getConnectionStatus, isClosable, isClosed, isOpenable, isOpened, open, setConnectionStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readDatagrams
readDatagram
hasDatagram
isOpened
isClosable
isClosed
getConnectionStatus
public void open(InputStream aInputStream) throws OpenException
open
in interface ConnectionOpenable<InputStream>
open
in class AbstractInputStreamReceiver<DATA extends Serializable>
OpenException
ConnectionOpenable#open(Object)}
public boolean isOpenable(InputStream aInputStream)
isOpenable
in interface ConnectionOpenable.ConnectionOpenAutomaton<InputStream>
isOpenable
in class AbstractInputStreamReceiver<DATA extends Serializable>
ConnectionAutomaton#isOpenable(Object)}
Copyright © 2016. All rights reserved.