SybaseContext delegate objects
Inherits From:
com.apple.yellow.sybaseeoadaptor
Class Description
The SybaseContext delegate object allows developers access to all the messages returned from the Sybase client library or the Sybase Server. If your implementation of these delegate methods returns false
, the SybaseContext will not report the message (or error). If your implementation returns true
, the SybaseContext will continue as usual. Most messages are reported in exceptions, but messages with a severity of 0 are simply ignored.
Instance Methods
sybaseContextShouldReportClientMessage
public abstract boolean sybaseContextShouldReportClientMessage
(SybaseContext context,
NSDictionary clientMessage)
Invoked when an exception results from a callback to the CS_CLIENTMSG_CB (Sybase ClientMessage callback). Gives the delegate the opportunity to substitute clientMessage as the userInfo dictionary.
sybaseContextShouldReportServerMessage
public abstract boolean sybaseContextShouldReportServerMessage
(SybaseContext context,
NSDictionary serverMessage)
Invoked when an exception results from a callback to the CS_SERVERMSG_CB (Sybase ServerMessage callback). Gives the delegate the opportunity to substitute serverMessage as the userInfo dictionary.