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


C# OpenWireFormat.addMarshaller方法代码示例

本文整理汇总了C#中OpenWireFormat.addMarshaller方法的典型用法代码示例。如果您正苦于以下问题:C# OpenWireFormat.addMarshaller方法的具体用法?C# OpenWireFormat.addMarshaller怎么用?C# OpenWireFormat.addMarshaller使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在OpenWireFormat的用法示例。


在下文中一共展示了OpenWireFormat.addMarshaller方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: configure

 /// <summery>
 ///  Adds the Marshallers for this version of the OpenWire protocol to the 
 ///  Collection of Marshallers stored in the OpenWireFormat class.
 /// </summery>
 public void configure(OpenWireFormat format)
 {
     format.clearMarshallers();
     format.addMarshaller(new ActiveMQBlobMessageMarshaller());
     format.addMarshaller(new ActiveMQBytesMessageMarshaller());
     format.addMarshaller(new ActiveMQMapMessageMarshaller());
     format.addMarshaller(new ActiveMQMessageMarshaller());
     format.addMarshaller(new ActiveMQObjectMessageMarshaller());
     format.addMarshaller(new ActiveMQQueueMarshaller());
     format.addMarshaller(new ActiveMQStreamMessageMarshaller());
     format.addMarshaller(new ActiveMQTempQueueMarshaller());
     format.addMarshaller(new ActiveMQTempTopicMarshaller());
     format.addMarshaller(new ActiveMQTextMessageMarshaller());
     format.addMarshaller(new ActiveMQTopicMarshaller());
     format.addMarshaller(new BrokerIdMarshaller());
     format.addMarshaller(new BrokerInfoMarshaller());
     format.addMarshaller(new ConnectionControlMarshaller());
     format.addMarshaller(new ConnectionErrorMarshaller());
     format.addMarshaller(new ConnectionIdMarshaller());
     format.addMarshaller(new ConnectionInfoMarshaller());
     format.addMarshaller(new ConsumerControlMarshaller());
     format.addMarshaller(new ConsumerIdMarshaller());
     format.addMarshaller(new ConsumerInfoMarshaller());
     format.addMarshaller(new ControlCommandMarshaller());
     format.addMarshaller(new DataArrayResponseMarshaller());
     format.addMarshaller(new DataResponseMarshaller());
     format.addMarshaller(new DestinationInfoMarshaller());
     format.addMarshaller(new DiscoveryEventMarshaller());
     format.addMarshaller(new ExceptionResponseMarshaller());
     format.addMarshaller(new FlushCommandMarshaller());
     format.addMarshaller(new IntegerResponseMarshaller());
     format.addMarshaller(new JournalQueueAckMarshaller());
     format.addMarshaller(new JournalTopicAckMarshaller());
     format.addMarshaller(new JournalTraceMarshaller());
     format.addMarshaller(new JournalTransactionMarshaller());
     format.addMarshaller(new KeepAliveInfoMarshaller());
     format.addMarshaller(new LastPartialCommandMarshaller());
     format.addMarshaller(new LocalTransactionIdMarshaller());
     format.addMarshaller(new MessageAckMarshaller());
     format.addMarshaller(new MessageDispatchMarshaller());
     format.addMarshaller(new MessageDispatchNotificationMarshaller());
     format.addMarshaller(new MessageIdMarshaller());
     format.addMarshaller(new MessagePullMarshaller());
     format.addMarshaller(new NetworkBridgeFilterMarshaller());
     format.addMarshaller(new PartialCommandMarshaller());
     format.addMarshaller(new ProducerAckMarshaller());
     format.addMarshaller(new ProducerIdMarshaller());
     format.addMarshaller(new ProducerInfoMarshaller());
     format.addMarshaller(new RemoveInfoMarshaller());
     format.addMarshaller(new RemoveSubscriptionInfoMarshaller());
     format.addMarshaller(new ReplayCommandMarshaller());
     format.addMarshaller(new ResponseMarshaller());
     format.addMarshaller(new SessionIdMarshaller());
     format.addMarshaller(new SessionInfoMarshaller());
     format.addMarshaller(new ShutdownInfoMarshaller());
     format.addMarshaller(new SubscriptionInfoMarshaller());
     format.addMarshaller(new TransactionInfoMarshaller());
     format.addMarshaller(new WireFormatInfoMarshaller());
     format.addMarshaller(new XATransactionIdMarshaller());
 }
开发者ID:ThorTech,项目名称:apache-nms,代码行数:64,代码来源:MarshallerFactory.cs


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