TibrvMsg.getEncoder()

Method

Declaration

static TibrvMsgEncoder getEncoder(
    short    userType)

Purpose

Extract the encoder interface for a custom datatype.

Remarks

If no encoder is registered for the datatype, return null.

Parameter

Description

userType

This type designator must be in the inclusive range [TibrvMsg.USER_FIRST, TibrvMsg.USER_LAST].

See Also

TibrvMsg.setHandlers()

TibrvMsgEncoder