public class DefaultOutputStreamContext extends BaseContext<OutputStreamContext> implements OutputStreamContext
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultOutputStreamContext.Builder
Output connection context builder.
|
address, observers, version| Constructor and Description |
|---|
DefaultOutputStreamContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
Returns the context address.
|
List<OutputConnectionContext> |
connections()
Returns a list of output connections.
|
void |
notify(OutputStreamContext update)
Notifies all observers of an update.
|
OutputPortContext |
port()
Returns the parent output port context.
|
Selector |
selector()
Returns the stream connection selector.
|
DefaultOutputStreamContext |
setPort(OutputPortContext port) |
copy, equals, hashCode, registerObserver, toString, unregisterObserverclone, finalize, getClass, notify, notifyAll, wait, wait, waitregisterObserver, unregisterObserverpublic DefaultOutputStreamContext setPort(OutputPortContext port)
public String address()
Contextaddress in interface Context<OutputStreamContext>public OutputPortContext port()
OutputStreamContextport in interface OutputStreamContextpublic Selector selector()
OutputStreamContextselector in interface OutputStreamContextpublic List<OutputConnectionContext> connections()
OutputStreamContextconnections in interface OutputStreamContextpublic void notify(OutputStreamContext update)
Observablenotify in interface Observable<OutputStreamContext>notify in class BaseContext<OutputStreamContext>update - The updated object.Copyright © 2013-2014. All Rights Reserved.