1 16 17 package org.apache.jk.core; 18 19 import java.io.IOException ; 20 21 import org.apache.coyote.Request; 22 23 28 29 public interface JkChannel { 30 31 32 35 public String getChannelName(); 36 37 42 public int send(Msg msg, MsgContext ep) throws IOException ; 43 44 49 public int receive(Msg msg, MsgContext ep) throws IOException ; 50 51 54 public int flush(Msg msg, MsgContext ep) throws IOException ; 55 56 59 public int invoke(Msg msg, MsgContext ep) throws IOException ; 60 61 64 public boolean isSameAddress(MsgContext ep); 65 66 69 public void registerRequest(Request req, MsgContext ep, int count); 70 71 74 public MsgContext createMsgContext(); 75 76 } 77 | Popular Tags |