public abstract class ExchangeProtocol<T extends DefaultExchange<?>> extends Object implements Protocol, CtxListener
Constructor and Description |
---|
ExchangeProtocol(Class<T> exchangeType) |
Modifier and Type | Method and Description |
---|---|
void |
onDone(Channel conn,
Object tag) |
protected org.rapidoid.pool.Pool<T> |
pool(RapidoidHelper helper) |
void |
process(Channel ctx) |
protected abstract void |
process(Channel ctx,
T exchange) |
public void onDone(Channel conn, Object tag)
onDone
in interface CtxListener
protected org.rapidoid.pool.Pool<T> pool(RapidoidHelper helper)
Copyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.