net.metanotion.util
Interface Dispatcher<I,D>


public interface Dispatcher<I,D>

Contract to decode messages destined for an interface. Given a data "object" of type D, decode it into a Message object on interface I.


Method Summary
 Message<I> dispatch(D data)
           
 

Method Detail

dispatch

Message<I> dispatch(D data)