本文整理汇总了Java中org.apache.qpid.proton.codec.EncoderImpl类的典型用法代码示例。如果您正苦于以下问题:Java EncoderImpl类的具体用法?Java EncoderImpl怎么用?Java EncoderImpl使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
EncoderImpl类属于org.apache.qpid.proton.codec包,在下文中一共展示了EncoderImpl类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: FrameWriter
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
FrameWriter(EncoderImpl encoder, int maxFrameSize, byte frameType,
Ref<ProtocolTracer> protocolTracer, TransportImpl transport)
{
_encoder = encoder;
_bbuf = ByteBuffer.allocate(1024);
_buffer = new WritableBuffer.ByteBufferWrapper(_bbuf);
_encoder.setByteBuffer(_buffer);
_maxFrameSize = maxFrameSize;
_frameType = frameType;
_protocolTracer = protocolTracer;
_transport = transport;
}
示例2: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
SaslChallengeType type = new SaslChallengeType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例3: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
SaslOutcomeType type = new SaslOutcomeType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例4: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
SaslResponseType type = new SaslResponseType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例5: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
SaslInitType type = new SaslInitType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例6: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
SaslMechanismsType type = new SaslMechanismsType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例7: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
DeclareType type = new DeclareType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例8: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
TransactionalStateType type = new TransactionalStateType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例9: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
DischargeType type = new DischargeType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例10: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
CoordinatorType type = new CoordinatorType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例11: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
DeclaredType type = new DeclaredType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例12: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
ErrorConditionType type = new ErrorConditionType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}
示例13: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder) {
FastPathAcceptedType type = new FastPathAcceptedType(encoder);
for(Object descriptor : DESCRIPTORS) {
decoder.register(descriptor, (FastPathDescribedTypeConstructor<?>) type);
}
encoder.register(type);
}
示例14: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder) {
FastPathTransferType type = new FastPathTransferType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, (FastPathDescribedTypeConstructor<?>) type);
}
encoder.register(type);
}
示例15: register
import org.apache.qpid.proton.codec.EncoderImpl; //导入依赖的package包/类
public static void register(Decoder decoder, EncoderImpl encoder)
{
FlowType type = new FlowType(encoder);
for(Object descriptor : DESCRIPTORS)
{
decoder.register(descriptor, type);
}
encoder.register(type);
}