ConnectionStatus Event
Fired to indicate changes in connection state.
Syntax
ANSI (Cross Platform) virtual int FireConnectionStatus(SCPConnectionStatusEventParams *e);
typedef struct {
const char *ConnectionEvent;
int StatusCode;
const char *Description; int reserved; } SCPConnectionStatusEventParams; Unicode (Windows) virtual INT FireConnectionStatus(SCPConnectionStatusEventParams *e);
typedef struct {
LPCWSTR ConnectionEvent;
INT StatusCode;
LPCWSTR Description; INT reserved; } SCPConnectionStatusEventParams;
- (void)onConnectionStatus:(NSString*)connectionEvent :(int)statusCode :(NSString*)description;
#define EID_SCP_CONNECTIONSTATUS 2 virtual INT IPWORKSSSH_CALL FireConnectionStatus(LPSTR &lpszConnectionEvent, INT &iStatusCode, LPSTR &lpszDescription);
Remarks
The ConnectionStatus event is fired when the connection state changes: completion of a firewall or proxy connection, completion of a security handshake, etc.
The ConnectionEvent parameter indicates the type of connection event. Values may include:
Firewall connection complete. | |
SSL or S/Shell handshake complete (where applicable). | |
Remote host connection complete. | |
Remote host disconnected. | |
SSL or S/Shell connection broken. | |
Firewall host disconnected. |