当前位置: 首页>>代码示例>>Java>>正文


Java EncoderImpl类代码示例

本文整理汇总了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;
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:13,代码来源:FrameWriter.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:SaslChallengeType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:SaslOutcomeType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:SaslResponseType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:SaslInitType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:SaslMechanismsType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:DeclareType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:TransactionalStateType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:DischargeType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:CoordinatorType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:DeclaredType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:ErrorConditionType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:8,代码来源:FastPathAcceptedType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:9,代码来源:FastPathTransferType.java

示例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);
}
 
开发者ID:apache,项目名称:qpid-proton-j,代码行数:10,代码来源:FlowType.java


注:本文中的org.apache.qpid.proton.codec.EncoderImpl类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。