public abstract class RewriterBase<T extends Protocol> extends java.lang.Object implements Rewriter<T>
Modifier | Constructor and Description |
---|---|
protected |
RewriterBase(T protocol) |
Modifier and Type | Method and Description |
---|---|
T |
protocol()
Returns the
Protocol instance of this rewriter. |
void |
register()
Registers any packet handlers or rewrites needed.
|
protected void |
registerPackets()
To be overriden.
|
protected void |
registerRewrites()
To be overriden.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onMappingDataLoaded
protected RewriterBase(T protocol)
public final void register()
Rewriter
protected void registerPackets()
protected void registerRewrites()