org.apache.cactus.spi.client.connector
Interface ProtocolState

All Known Implementing Classes:
HttpProtocolState, JmsProtocolState

public interface ProtocolState

Hold protocol-related information that need to be exchanged during the lifecycle of the ProtocolHandler. For example the HTTP protocol handler needs to pass the HTTP connection around to the different lifecycle methods. However, as this kind of state information is highly protocol dependent, we needed to abstract out the state information, hence this tagging interface. The implementation is free to have any kind of methods. These methods will only be used in the ProtocolHandler implementation classes.

Since:
1.6
Version:
$Id: ProtocolState.java 238991 2004-05-22 11:34:50Z vmassol $



Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.