TipcSrvLogRemoveMt remove a message type from a message file logging type
log_type
message file logging type
mt
message type to remove from list
TRUE
if the message type was successfully removed, FALSE
otherwise.
If TipcSrvLogRemoveMt fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcSrvLogRemoveMt removes a message type from a message file logging type on the connection to RTserver. Each logging type has two options that can be used to log incoming and outgoing messages in that logging type. See TipcSrvLogAddMt for more information on logging types.
TipcSrvLogRemoveMt can only be called before the RTclient has created a connection to RTserver.
TipcSrvLogAddMt; see the TIBCO SmartSockets Utilities for information on TutPtrAryRemove.
This example removes the TIME message type from the data
logging type with TipcSrvLogRemoveMt:
mt = TipcMtLookupByNum(T_MT_TIME); if (mt == NULL) {return
; /* error */
} if (!TipcSrvLogRemoveMt(T_IPC_SRV_LOG_DATA, mt)) {return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |