public interface SoupBinTCPClientStatusListener
Modifier and Type | Method and Description |
---|---|
void |
endOfSession(SoupBinTCPClient session)
Receive an End Of Session packet.
|
void |
heartbeatTimeout(SoupBinTCPClient session)
Receive an indication of a heartbeat timeout.
|
void |
loginAccepted(SoupBinTCPClient session,
SoupBinTCP.LoginAccepted payload)
Receive a Login Accepted packet.
|
void |
loginRejected(SoupBinTCPClient session,
SoupBinTCP.LoginRejected payload)
Receive a Login Rejected packet.
|
void heartbeatTimeout(SoupBinTCPClient session) throws IOException
session
- the sessionIOException
- if an I/O error occursvoid loginAccepted(SoupBinTCPClient session, SoupBinTCP.LoginAccepted payload) throws IOException
session
- the sessionpayload
- the packet payloadIOException
- if an I/O error occursvoid loginRejected(SoupBinTCPClient session, SoupBinTCP.LoginRejected payload) throws IOException
session
- the sessionpayload
- the packet payloadIOException
- if an I/O error occursvoid endOfSession(SoupBinTCPClient session) throws IOException
session
- the sessionIOException
- if an I/O error occursCopyright © 2017. All rights reserved.