Server class

Implemented types

Constructors

Server({String? connectionPassword, ConnectionAuth? connectionAuth, String? motdPath})

Properties

no setter
connectionAuth ConnectionAuth
final
encoding Utf8Codec
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
servername String
no setteroverride

Methods

authenticate({required String nick, required String user, String? password}) Future<(bool, String?)>
override
broadcast(List<int> data, {required Client from, required String to}) Future<void>
override
changeClientNick({required Client client, required String from, required String to}) bool
override
isOn(String nick) bool
override
join(List<int> data, {required String channel, required String? key, required Client user}) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
part(List<int> data, {required Channel channel, required Client user}) Future<void>
override
registerClientWithNick(String nick, Client client) bool
override
run({InternetAddress? address, int? port, int connectionCheckIntervalSeconds = 30, String? privateKeyPath, String? motdPath}) Future<void>
Start a server.
sendMotd({required Client to}) Future<void>
override
toString() String
A string representation of this object.
inherited
unicast(List<int> data, {required Client from, required String to}) Future<void>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited