1 13 package info.magnolia.exchange; 14 15 18 public interface Channel { 19 20 26 void open() throws ChannelInitializationException; 27 28 36 void send(Packet packet) throws ChannelOverflowException, ChannelException; 37 38 46 void receive(Packet packet) throws ChannelOverflowException, ChannelException; 47 48 53 void removePacketReference(String id) throws ChannelException; 54 55 59 void flush() throws ChannelException; 60 61 64 void close(); 65 66 69 String getID(); 70 } 71 | Popular Tags |