org.apache.geronimo.network.protocol
Interface Protocol
- All Superinterfaces:
- Cloneable
- All Known Subinterfaces:
- AcceptableProtocol
- All Known Implementing Classes:
- AbstractProtocol, AcceptableProtocolStack, DatagramProtocol, MultiTotemRingProtocol, ProtocolStack, SingleTotemRingProtocol, SocketProtocol, SSLSocketProtocol, TotemReplicationProtocol
- public interface Protocol
- extends Cloneable
- Version:
- $Revision: 1.4 $ $Date: 2004/08/01 13:03:43 $
getUpProtocol
public Protocol getUpProtocol()
setUpProtocol
public void setUpProtocol(Protocol up)
getDownProtocol
public Protocol getDownProtocol()
setDownProtocol
public void setDownProtocol(Protocol down)
clearLinks
public void clearLinks()
cloneProtocol
public Protocol cloneProtocol()
throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
setup
public void setup()
throws ProtocolException
- Throws:
ProtocolException
drain
public void drain()
throws ProtocolException
- Throws:
ProtocolException
teardown
public void teardown()
throws ProtocolException
- Throws:
ProtocolException
sendUp
public void sendUp(UpPacket packet)
throws ProtocolException
- Throws:
ProtocolException
sendDown
public void sendDown(DownPacket packet)
throws ProtocolException
- Throws:
ProtocolException
flush
public void flush()
throws ProtocolException
- Throws:
ProtocolException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.