StompConnector class

A STOMP connector for binding with different networking, such as WebSocket and Socket.

Implementers

Constructors

StompConnector()

Properties

onBytes BytesCallback
Called when data in bytes format is received. [...]
read / write
onClose CloseCallback
Called when the connection is closed. [...]
read / write
onError ErrorCallback
Called when there is an error. [...]
read / write
onString StringCallback
Called when data in String format is received. [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

close() → Future
Closes the connector.
write(String string, [ List<int> bytes ]) → void
Write an array of bytes or a String. [...]
writeEof() → void
Write the NULL octet to indicate the end of a frame.
writeLF() → void
Write the end of line (LF)
writeStream(Stream<List<int>> stream) → Future
Write a stream
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited