1 24 25 package org.objectweb.tribe.channel; 26 27 import org.objectweb.tribe.common.Address; 28 import org.objectweb.tribe.exceptions.ChannelException; 29 import org.objectweb.tribe.exceptions.NotConnectedException; 30 import org.objectweb.tribe.messages.ChannelMessage; 31 32 38 public abstract class AbstractReliableFifoChannel 39 { 40 41 47 public abstract void connect(Address destination) throws ChannelException; 48 49 56 public abstract void send(ChannelMessage msg) throws ChannelException, 57 NotConnectedException; 58 59 64 public abstract void close() throws ChannelException; 65 66 71 public abstract Address getSourceAddress() throws ChannelException; 72 73 78 public abstract Address getDestinationAddress() throws ChannelException; 79 80 } | Popular Tags |