PTServer class

PowerTip Server top-level algorithm implementation

Inheritance

Constructors

PTServer(String address, String _applicationDirectory, {int port = PowerTip.defaultPort})
Initializes a PTServer instance object

Properties

address String
The address in IPv4 format that points to the remote host address
finalinherited
clients Iterable<User>
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
no setteroverride
name String
getter/setter pairinherited-setteroverride-getter
port int
The port number to be used when connected to the remote host.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String
no setter
slides List<Slide>
getter/setter pairinherited-setteroverride-getter
type UserType
getter/setter pairinherited-setteroverride-getter

Methods

close({ErrorCode code = ErrorCode.none}) → void
disconnectById(int id) bool
listen({OnDocumentChangedCallback? onDocumentChanged, OnDownloadStartedCallback? onDownloadStarted, OnDownloadProgressCallback? onDownloadProgress, OnDownloadCompleteCallback? onDownloadComplete, OnClientConnectedCallback? onUserJoined, OnClientDisconnectedCallback? onUserLeft, OnClientChangedAttributesCallback? onUserChanged}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveFile(List<int> data, String name) Future<File>
inherited
toBytes() List<int>
inherited
toString() String
A string representation of this object.
inherited

Operators

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