SocketInConnector

public class SocketInConnector extends AbstractConnector implements InConnector, NotificationReceiver

An InConnector for the socket-based transport.

Author

jwienke

Constructors

SocketInConnector

public SocketInConnector(SocketOptions socketOptions, ServerMode serverMode, ConverterSelectionStrategy<ByteBuffer> converters)

Constructor.

Parameters
  • socketOptions – socket options to use

  • serverMode – server mode to use

  • converters – converters to use for serialization

Methods

activate

public void activate()

addHandler

public void addHandler(EventHandler handler)

deactivate

public void deactivate()

getTransportUri

public URI getTransportUri()

handle

public void handle(Notification notification)

isActive

public boolean isActive()

notify

public void notify(Filter filter, FilterAction action)

removeHandler

public boolean removeHandler(EventHandler handler)

setQualityOfServiceSpec

public void setQualityOfServiceSpec(QualityOfServiceSpec spec)

setScope

public void setScope(Scope scope)