Removed the restriction that transport updates have to be written in

delimited form.
This commit is contained in:
akwizgran
2011-08-14 11:41:56 +02:00
parent c2b0f0ab5a
commit 254da2da27
9 changed files with 119 additions and 46 deletions

View File

@@ -19,6 +19,7 @@ public interface Tags {
static final int OFFER = 9;
static final int OFFER_ID = 10;
static final int REQUEST = 11;
static final int SUBSCRIPTIONS = 12;
static final int TRANSPORTS = 13;
static final int SUBSCRIPTION_UPDATE = 12;
static final int TRANSPORT_PROPERTIES = 13;
static final int TRANSPORT_UPDATE = 14;
}

View File

@@ -9,6 +9,12 @@ public interface Reader {
boolean eof() throws IOException;
void close() throws IOException;
void setMaxStringLength(int length);
void resetMaxStringLength();
void setMaxBytesLength(int length);
void resetMaxBytesLength();
void addConsumer(Consumer c);
void removeConsumer(Consumer c);