@javatypes/amqp-client
Version:
java amqp-client types
68 lines (67 loc) • 2.79 kB
TypeScript
declare namespace com {
namespace rabbitmq {
namespace client {
namespace impl {
/**
* Parses an AMQP wire-protocol {@link ContentHeader} from a
* DataInputStream. Methods on this object are usually called from
* autogenerated code.
*/
// @ts-ignore
class ContentHeaderPropertyReader extends java.lang.Object {
/**
* Protected API - Constructs a reader from the given input stream
*/
// @ts-ignore
constructor(input: java.io.DataInputStream)
// @ts-ignore
public readFlagWord(): void
// @ts-ignore
public readPresence(): boolean
// @ts-ignore
public finishPresence(): void
/**
* Reads and returns an AMQP short string content header field.
*/
// @ts-ignore
public readShortstr(): string
/**
* Reads and returns an AMQP "long string" (binary) content header field.
*/
// @ts-ignore
public readLongstr(): com.rabbitmq.client.LongString
/**
* Reads and returns an AMQP short integer content header field.
*/
// @ts-ignore
public readShort(): number
/**
* Reads and returns an AMQP integer content header field.
*/
// @ts-ignore
public readLong(): number
/**
* Reads and returns an AMQP long integer content header field.
*/
// @ts-ignore
public readLonglong(): number
/**
* Reads and returns an AMQP table content header field.
*/
// @ts-ignore
public readTable(): java.util.Map<java.lang.String | string, java.lang.Object | any>
/**
* Reads and returns an AMQP octet content header field.
*/
// @ts-ignore
public readOctet(): number /*int*/
/**
* Reads and returns an AMQP timestamp content header field.
*/
// @ts-ignore
public readTimestamp(): java.util.Date
}
}
}
}
}