ShiSockClient class
This is the main class the will be used to create the client.
The name ShiSockClient
is becouse it work as client to connect to
the server. In future we are planning to develop the server as well.
And the obivious name would be ShiSockServer
.
This class has only one function: connect
.
Connect
takes only to arguments: the address of type string
and
port of type int
.
Connect
returns a ShiSockListener
object.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
String address, int port) → ShiSockListener -
Connect
will be used to connect to the server. It returns aShiSockListener
object. It should be the first function to be called while creating the client. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited