SocketOutConnector

public class SocketOutConnector extends AbstractConnector implements OutConnector

An OutConnector instance for the socket transport.

Author

jwienke

Constructors

SocketOutConnector

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

Constructor.

Parameters
  • socketOptions – options for the socket

  • serverMode – server mode to use

  • converters – converters to use for serialization

Methods

activate

public void activate()

deactivate

public void deactivate()

getTransportUri

public URI getTransportUri()

isActive

public boolean isActive()

push

public void push(Event event)

setQualityOfServiceSpec

public void setQualityOfServiceSpec(QualityOfServiceSpec spec)

setScope

public void setScope(Scope scope)