public class SpreadPort extends AbstractPort
LOG
Constructor and Description |
---|
SpreadPort(SpreadWrapper sw,
EventHandler eventHandler,
ConverterSelectionStrategy<java.nio.ByteBuffer> inStrategy,
ConverterSelectionStrategy<java.nio.ByteBuffer> outStrategy) |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates all network resources that belong to a specific object.
|
void |
deactivate()
Deactivate all network resources that are owned by a specific object in
order to reactivate it.
|
java.lang.String |
getType() |
boolean |
isActive()
Tells wether this class is currently active or not.
|
void |
notify(ScopeFilter e,
FilterAction a) |
void |
push(Event event) |
void |
setQualityOfServiceSpec(QualityOfServiceSpec qos)
Sets the quality of service requirements on sending and receiving event
notifications.
|
notify, notify, notify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
notify, notify, notify
public SpreadPort(SpreadWrapper sw, EventHandler eventHandler, ConverterSelectionStrategy<java.nio.ByteBuffer> inStrategy, ConverterSelectionStrategy<java.nio.ByteBuffer> outStrategy)
sw
- eventHandler
- if null
, no receiving of events will be donestrategy
- outStrategy
- public void activate() throws InitializeException
RSBObject
InitializeException
public void notify(ScopeFilter e, FilterAction a)
notify
in interface FilterObserver
notify
in class AbstractFilterObserver
public void push(Event event) throws ConversionException
push
in interface Port
push
in class AbstractPort
ConversionException
public void deactivate() throws RSBException
RSBObject
RSBException
public java.lang.String getType()
public void setQualityOfServiceSpec(QualityOfServiceSpec qos)
Port
qos
- new spec to applypublic boolean isActive()
RSBObject
true
if active