StartListening()
|
Initialises the client and starts listening for messages from the server
|
StopListening()
|
Disconnects and stops listening for messages
|
SendMessage(Shared.Communication.Message)
|
Send a message to the server
|
SendFile(String)
|
Sends a file to the server
|
ReceiveFile(String)
|
Instructs the server to send a file
Server must manage its own path system as only the file name will be sent
|
HandleClientException(Exception)
|
Handles exceptions when handling client connections
|
sendMessage(Shared.Communication.Message)
|
Sends the message to the server
|
RaiseConnected()
|
Raises client connected event
|
RaiseDisconnected()
|
Raises client disconnected event
|
RaiseClientIDChanged()
|
Raises client ID changed event
|
RaiseError(Exception)
|
Raises Internal error event handler
|
RaiseLoginRequired(String)
|
Raise LoginRequired Event
|
RaiseLoginFailed()
|
Raises login failed event
|
RaiseLoggedIn()
|
Raises login success event
|
RaiseFileReceived(Object, Shared.Communication.TransferFileEventArgs)
|
Raises file received event
Used to monitor progres of file being sent/received
|
RaiseConnectionRefused()
|
Raises connection refused event
|
RaiseFileReceive(String)
|
Raises a FileReceive event
|