MessageExtensions
Assembly: ServiceStack.Client.dll
View Source
Declaration
public static class MessageExtensions
Methods
ToString(Byte[])
View Source
Declaration
public static string ToString(byte[] bytes)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Byte[] | bytes |
ToMessage(Byte[], Type)
View Source
Declaration
public static IMessage ToMessage(this byte[] bytes, Type ofType)
Returns
ServiceStack.Messaging.IMessage
Parameters
Type | Name |
---|---|
System.Byte[] | bytes |
System.Type | ofType |
ToMessage<T>(Byte[])
View Source
Declaration
public static Message<T> ToMessage<T>(this byte[] bytes)
Returns
ServiceStack.Messaging.Message<T>
Parameters
Type | Name |
---|---|
System.Byte[] | bytes |
Type Parameters
T
ToBytes(IMessage)
View Source
Declaration
public static byte[] ToBytes(this IMessage message)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessage | message |
ToBytes<T>(IMessage<T>)
View Source
Declaration
public static byte[] ToBytes<T>(this IMessage<T> message)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessage<T> | message |
Type Parameters
T
ToInQueueName(IMessage)
View Source
Declaration
public static string ToInQueueName(this IMessage message)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessage | message |
ToDlqQueueName(IMessage)
View Source
Declaration
public static string ToDlqQueueName(this IMessage message)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessage | message |
ToInQueueName<T>(IMessage<T>)
View Source
Declaration
public static string ToInQueueName<T>(this IMessage<T> message)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessage<T> | message |
Type Parameters
T
CreateMessageQueueClient(IMessageService)
View Source
Declaration
public static IMessageQueueClient CreateMessageQueueClient(this IMessageService mqServer)
Returns
ServiceStack.Messaging.IMessageQueueClient
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessageService | mqServer |
CreateMessageProducer(IMessageService)
View Source
Declaration
public static IMessageProducer CreateMessageProducer(this IMessageService mqServer)
Returns
ServiceStack.Messaging.IMessageProducer
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessageService | mqServer |