Connects to the gateway server, establishing the long poll communication with the gateway server to be notified of server-side events.
The connect is performed in two steps:
Any connect message after the first is treated as a long poll request.
@throws IOException if it is not possible to connect to the gateway server @see #disconnect()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|