protocolhandler.java

来自「JAVA的一些源码 JAVA2 STANDARD EDITION DEVELO」· Java 代码 · 共 36 行

JAVA
36
字号
/* * @(#)ProtocolHandler.java	1.12 03/12/19 *  * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.pept.protocol;import com.sun.corba.se.pept.protocol.MessageMediator;/** * <code>ProtocolHandler</code> is used to determine the * type of an incoming message. * * @author Harold Carr */public interface ProtocolHandler{    // REVISIT - return type    /**     * This method determines the type of an incoming message and     * dispatches it appropriately.     *     * For example, on the server side, it may find a      * {@link com.sun.corba.se.pept.protocol.ServerRequestDispatcher     * ServerRequestDispatcher} to handle the request.  On the client-side     * it may signal a waiting thread to handle a reply.     *     * @return deprecated     */    public boolean handleRequest(MessageMediator messageMediator);}// End of file.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?