- buildMailbox(state): {
deliverInbound: ((peer: any, messages: any, ack: any) => boolean);
endowments: {
add: ((peer: any, msgnum: any, body: any) => void);
registerInboundCallback: ((cb: any) => void);
remove: ((peer: any, msgnum: any) => void);
setAcknum: ((peer: any, msgnum: any) => void);
};
srcPath: string;
} Returns {
deliverInbound: ((peer: any, messages: any, ack: any) => boolean);
endowments: {
add: ((peer: any, msgnum: any, body: any) => void);
registerInboundCallback: ((cb: any) => void);
remove: ((peer: any, msgnum: any) => void);
setAcknum: ((peer: any, msgnum: any) => void);
};
srcPath: string;
}
deliverInbound: ((peer: any, messages: any, ack: any) => boolean)
- (peer, messages, ack): boolean
Parameters
- peer: any
- messages: any
- ack: any
Returns boolean
endowments: {
add: ((peer: any, msgnum: any, body: any) => void);
registerInboundCallback: ((cb: any) => void);
remove: ((peer: any, msgnum: any) => void);
setAcknum: ((peer: any, msgnum: any) => void);
}
add: ((peer: any, msgnum: any, body: any) => void)
- (peer, msgnum, body): void
Parameters
- peer: any
- msgnum: any
- body: any
Returns void
registerInboundCallback: ((cb: any) => void)
remove: ((peer: any, msgnum: any) => void)
- (peer, msgnum): void
Returns void
setAcknum: ((peer: any, msgnum: any) => void)
- (peer, msgnum): void
Returns void
srcPath: string