01: package dalma.spi.port; 02: 03: /** 04: * @author Kohsuke Kawaguchi 05: */ 06: interface Receiver<Key, Msg> { 07: Key getKey(); 08: 09: void handleMessage(Msg msg); 10: }