public class ChannelInlet extends Object implements Observer
IChannelLocator for it and acts a the central synchronization
point which is the ChannelInlet, and the other receives an IChannelLocator to a previously
created channel and can receive events emitted through it and can in turn emit events itself.| Constructor and Description |
|---|
ChannelInlet(INozzleConfig Config)
Instantiates a new channel inlet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dispose()
Disposed the nozzle and all associated state.
|
IChannelLocator |
GetLocator()
Retrieves the locator that can be used by other nozzles to connect to the channel
|
Collection<ChannelStateEvent> |
GetNozzleEvents()
The nozzle exposes a set of events that are published through the rest of the connected
nozzles.
|
String |
GetNozzleID()
Gets the nozzle id.
|
void |
Push(ChannelPayloadStateEvent Event)
Emits the provided event to all connected nozzles.
|
void |
update(Observable o,
Object arg) |
public ChannelInlet(INozzleConfig Config)
ChannelState and registers the created ChannelState with the
ChannelRegistryConfig - the configurationpublic void update(Observable o, Object arg)
public String GetNozzleID()
public Collection<ChannelStateEvent> GetNozzleEvents()
public void Dispose()
ChannelState publishing events that the client is registering for is disposed
through ChannelState.Dispose() and finally the underlying ChannelState that is used
to synchronize all connected nozzles id disposed through a call to ChannelState.Dispose()public void Push(ChannelPayloadStateEvent Event)
Event - the event to emitpublic IChannelLocator GetLocator()
Copyright © 2018. All Rights Reserved.