org.ros.message
Interface MessageSerializationFactory

All Known Implementing Classes:
DefaultMessageSerializationFactory

public interface MessageSerializationFactory


Method Summary
<T> MessageDeserializer<T>
newMessageDeserializer(java.lang.String messageType)
           
<T> MessageSerializer<T>
newMessageSerializer(java.lang.String messageType)
           
<T> MessageDeserializer<T>
newServiceRequestDeserializer(java.lang.String serviceType)
           
<T> MessageSerializer<T>
newServiceRequestSerializer(java.lang.String serviceType)
           
<T> MessageDeserializer<T>
newServiceResponseDeserializer(java.lang.String serviceType)
           
<T> MessageSerializer<T>
newServiceResponseSerializer(java.lang.String serviceType)
           
 

Method Detail

newMessageSerializer

<T> MessageSerializer<T> newMessageSerializer(java.lang.String messageType)
Parameters:
messageType - the type of message that the new MessageSerializer should serialize
Returns:
a new MessageSerializer for the provided message type

newMessageDeserializer

<T> MessageDeserializer<T> newMessageDeserializer(java.lang.String messageType)
Parameters:
messageType - the type of message that the new MessageDeserializer should deserialize
Returns:
a new MessageDeserializer for the provided message type

newServiceRequestSerializer

<T> MessageSerializer<T> newServiceRequestSerializer(java.lang.String serviceType)
Parameters:
serviceType - the type of service that the new MessageSerializer should serialize requests for
Returns:
a new MessageSerializer for requests to the provided service type

newServiceRequestDeserializer

<T> MessageDeserializer<T> newServiceRequestDeserializer(java.lang.String serviceType)
Parameters:
serviceType - the type of service that the new MessageDeserializer should deserialize requests for
Returns:
a new MessageDeserializer for requests to the provided service type

newServiceResponseSerializer

<T> MessageSerializer<T> newServiceResponseSerializer(java.lang.String serviceType)
Parameters:
serviceType - the type of service that the new MessageSerializer should serialize responses for
Returns:
a new MessageSerializer for responses from the provided service type

newServiceResponseDeserializer

<T> MessageDeserializer<T> newServiceResponseDeserializer(java.lang.String serviceType)
Parameters:
serviceType - the type of service that the new MessageDeserializer should deserialize responses for
Returns:
a new MessageDeserializer for responses from the provided service type