FileDocCategorySizeDatePackage
JkChannel.javaAPI DocApache Tomcat 6.0.142277Fri Jul 20 04:20:36 BST 2007org.apache.jk.core

JkChannel

public interface JkChannel
A Channel represents a connection point to the outside world.
author
Bill Barker

Fields Summary
Constructors Summary
Methods Summary
public MsgContextcreateMsgContext()
Create a new request endpoint.

public intflush(Msg msg, MsgContext ep)
Flush the data to the client.

public java.lang.StringgetChannelName()
Return the identifying name of this Channel.

public intinvoke(Msg msg, MsgContext ep)
Invoke the request chain.

public booleanisSameAddress(MsgContext ep)
Confirm that a shutdown request was recieved form us.

public intreceive(Msg msg, MsgContext ep)
Recieve a message from the client.

param
msg The place to recieve the data into.
param
ep The connection point for this request.

public voidregisterRequest(org.apache.coyote.Request req, MsgContext ep, int count)
Register a new Request in the Request pool.

public intsend(Msg msg, MsgContext ep)
Send a message back to the client.

param
msg The message to send.
param
ep The connection point for this request.