APIServer

Undocumented in source.

Constructors

this
this(TCPConnection info)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

emitIgnoredEvent
void emitIgnoredEvent()
Undocumented in source. Be warned that the author may not have intended to support it.
getCounter
int getCounter()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
TestStruct getStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
ignoredFunction
int ignoredFunction()
Undocumented in source. Be warned that the author may not have intended to support it.
remoteException
void remoteException()
Undocumented in source. Be warned that the author may not have intended to support it.
request1
void request1()
Undocumented in source. Be warned that the author may not have intended to support it.
request1
int request1(int a)
Undocumented in source. Be warned that the author may not have intended to support it.
request2
int request2(int[] a)
Undocumented in source. Be warned that the author may not have intended to support it.
request2
int request2(TestStruct s)
Undocumented in source. Be warned that the author may not have intended to support it.
startEvents
void startEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
stopEvents
void stopEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
stopServer
void stopServer()
Undocumented in source. Be warned that the author may not have intended to support it.
stopServerException
void stopServerException()
Undocumented in source. Be warned that the author may not have intended to support it.
testEvents
void testEvents()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

startSession
APIServer startSession(TCPConnection info)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_eventStop
bool _eventStop;
Undocumented in source.
_info
TCPConnection _info;
Undocumented in source.
counter
int counter;
Undocumented in source.

Inherited Members

From API

request1
void request1()
int request1(int a)
request2
int request2(int[] a)
int request2(TestStruct s)
getCounter
int getCounter()
getStruct
TestStruct getStruct()

Test return values, parameters, overloading

emitIgnoredEvent
void emitIgnoredEvent()

emit a event on the server which is not emitted to clients

voidEvent
Event!() voidEvent;

Test events

intEvent
Event!(int) intEvent;
Undocumented in source.
twoEvent
Event!(int, int) twoEvent;
Undocumented in source.
counterEvent
Event!() counterEvent;

This event is emitted from a free-running counter

testEvents
void testEvents()

Call all events

ignoredEvent
Event!() ignoredEvent;
Undocumented in source.
ignoredFunction
int ignoredFunction()
Undocumented in source. Be warned that the author may not have intended to support it.
stopServer
void stopServer()

stop the server

stopServerException
void stopServerException()

stop the server and exception

remoteException
void remoteException()

Throw

startEvents
void startEvents()
Undocumented in source.
stopEvents
void stopEvents()
Undocumented in source.

Meta