UdpConnection class
- Inheritance
-
- Object
- Connection
- ConnectionI
- UdpConnection
Constructors
- UdpConnection({ObjectAdapter? adapter, required RawDatagramSocket socket, required UdpEndpoint endpoint})
- UdpConnection.attach(RawDatagramSocket socket, ObjectAdapterI adapter)
-
factory
Properties
- adapter → ObjectAdapter?
-
finalinherited
-
connectionValidated
→ Completer<
bool> -
finalinherited
- endpoint → IPEndpoint
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
replyHandleMap
→ Map<
int, ReplyHandle> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socket ↔ RawDatagramSocket
-
getter/setter pair
- state ↔ ConnectionState
-
getter/setter pairinherited
- validated ↔ bool
-
getter/setter pairinherited
Methods
-
buildCloseMsg(
) → OutputStream -
inherited
-
buildHeartbeat(
) → OutputStream -
inherited
-
close(
ConnectionClose mode) → void -
override
-
createProxy(
Identity id) → ObjectPrx? -
inherited
-
flushBatchRequests(
CompressBatch compress) → void -
inherited
-
getAdapter(
) → ObjectAdapter? -
inherited
-
getEndpoint(
) → Endpoint -
inherited
-
getObject(
Identity identity, String facet) → Object? -
handleMessage(
Header header, InputStream body) → void -
override
-
heartbeat(
) → void -
override
-
init(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onData(
dynamic event) → void -
onDone(
) → void -
onError(
dynamic err) → void -
parseMessage(
InputStream input) → void -
inherited
-
reply(
Header header, Current current) → Message -
send(
Uint8List data) → void -
sendClose(
) → void -
override
-
sendReply(
Message reply) → void -
override
-
sendRequest(
OutputStream out, int requestId, ReplyHandle handle) → void -
override
-
setAdapter(
ObjectAdapter adapter) → void -
inherited
-
setBufferSize(
int rcvSize, int sndSize) → void -
override
-
setCloseCallback(
CloseCallback callback) → void -
inherited
-
setHeartbeatCallback(
HeartbeatCallback callback) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
type(
) → String -
Return the connection type. This corresponds to the endpoint
type, i.e., "tcp", "udp", etc.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited