ConnectionEvent.setCode

void setCode(glong code)

Sets event's code: the code is specific to the provider being used. If you want to have a common understanding of the event codes, use [gda.connection_event.ConnectionEvent.getGdaCode] instead.

This function should not be called directly

Parameters

codea code.