package net.i2p.data.i2cp; /* * public domain * */ import java.io.IOException; import java.io.InputStream; /** * Request the router tells us the current bw limits * * @author zzz */ public class GetBandwidthLimitsMessage extends I2CPMessageImpl { public final static int MESSAGE_TYPE = 8; public GetBandwidthLimitsMessage() { super(); } @Override protected void doReadMessage(InputStream in, int size) throws I2CPMessageException, IOException { // noop } @Override protected byte[] doWriteMessage() throws I2CPMessageException, IOException { byte rv[] = new byte[0]; return rv; } public int getType() { return MESSAGE_TYPE; } @Override public String toString() { StringBuilder buf = new StringBuilder(); buf.append("[GetBandwidthLimitsMessage]"); return buf.toString(); } }