org.voovan.network.handler.SynchronousHandler Maven / Gradle / Ivy
package org.voovan.network.handler;
import org.voovan.network.IoHandler;
import org.voovan.network.IoSession;
import java.util.concurrent.LinkedBlockingDeque;
/**
* Socket 同步通信 handler
*
* @author helyho
*
* Voovan Framework.
* WebSite: https://github.com/helyho/Voovan
* Licence: Apache v2 License
*/
public class SynchronousHandler implements IoHandler {
//Socket 响应队列
private LinkedBlockingDeque