hazelcast-client
Version:
Hazelcast - open source In-Memory Data Grid - client for NodeJS
20 lines (19 loc) • 838 B
TypeScript
/// <reference types="long" />
import { IdentifiedDataSerializable, IdentifiedDataSerializableFactory } from '../../serialization/Serializable';
import { DataInput, DataOutput, Data } from '../../serialization/Data';
import Address = require('../../Address');
import * as Long from 'long';
export declare const RELIABLE_TOPIC_MESSAGE_FACTORY_ID = -18;
export declare const RELIABLE_TOPIC_CLASS_ID = 2;
export declare class RawTopicMessage implements IdentifiedDataSerializable {
publishTime: Long;
publisherAddress: Address;
payload: Data;
readData(input: DataInput): any;
writeData(output: DataOutput): void;
getFactoryId(): number;
getClassId(): number;
}
export declare class ReliableTopicMessageFactory implements IdentifiedDataSerializableFactory {
create(type: number): IdentifiedDataSerializable;
}