public class DefaultCodecImpl extends Object implements org.jboss.narayana.blacktie.jatmibroker.core.transport.Codec
| 构造器和说明 |
|---|
DefaultCodecImpl(Connection connection) |
| 限定符和类型 | 方法和说明 |
|---|---|
BufferImpl |
decode(String type,
String subtype,
byte[] data,
int len) |
byte[] |
encode(BufferImpl buf) |
public DefaultCodecImpl(Connection connection)
public BufferImpl decode(String type, String subtype, byte[] data, int len) throws ConnectionException, org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
decode 在接口中 org.jboss.narayana.blacktie.jatmibroker.core.transport.CodecConnectionExceptionorg.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationExceptionpublic byte[] encode(BufferImpl buf) throws ConnectionException
encode 在接口中 org.jboss.narayana.blacktie.jatmibroker.core.transport.CodecConnectionExceptionCopyright © 2015 JBoss by Red Hat. All Rights Reserved.