setMessageInterceptor

public void setMessageInterceptor(MessageInterceptor interceptor)

设置消息拦截器。

Parameters

interceptor

消息发送或接受的拦截器。