corba.js 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/package.json +11 -11
  2. package/lib/idl/idl.cjs +0 -3829
  3. package/lib/idl/idl.cjs.map +0 -1
  4. package/lib/idl/src/idl/cc/typeIDLtoCC.d.ts +0 -6
  5. package/lib/idl/src/idl/cc/typeIDLtoGIOPCC.d.ts +0 -3
  6. package/lib/idl/src/idl/cc/write-code.d.ts +0 -2
  7. package/lib/idl/src/idl/cc/write-interface.d.ts +0 -4
  8. package/lib/idl/src/idl/cc/write-skeleton.d.ts +0 -2
  9. package/lib/idl/src/idl/cc/write-stub.d.ts +0 -2
  10. package/lib/idl/src/idl/idl-lexer.d.ts +0 -19
  11. package/lib/idl/src/idl/idl-node.d.ts +0 -102
  12. package/lib/idl/src/idl/idl-parser.d.ts +0 -3
  13. package/lib/idl/src/idl/idl.d.ts +0 -1
  14. package/lib/idl/src/idl/ts/typeIDLtoGIOPTS.d.ts +0 -3
  15. package/lib/idl/src/idl/ts/typeIDLtoTS.d.ts +0 -3
  16. package/lib/idl/src/idl/ts/write-interface.d.ts +0 -2
  17. package/lib/idl/src/idl/ts/write-skeleton.d.ts +0 -2
  18. package/lib/idl/src/idl/ts/write-stub.d.ts +0 -2
  19. package/lib/idl/src/idl/ts/write-value.d.ts +0 -2
  20. package/lib/idl/src/idl/ts/write-valueimpl.d.ts +0 -2
  21. package/lib/idl/src/idl/ts/write-valuetype.d.ts +0 -2
  22. package/lib/idl/src/idl/util.d.ts +0 -22
  23. package/lib/idl/src/index.d.ts +0 -5
  24. package/lib/idl/src/net/browser.d.ts +0 -27
  25. package/lib/idl/src/net/index.d.ts +0 -3
  26. package/lib/idl/src/net/tcp.d.ts +0 -10
  27. package/lib/idl/src/net/tls.d.ts +0 -24
  28. package/lib/idl/src/net/ws.d.ts +0 -42
  29. package/lib/idl/src/orb/asn1.d.ts +0 -48
  30. package/lib/idl/src/orb/connection.d.ts +0 -25
  31. package/lib/idl/src/orb/giop.d.ts +0 -283
  32. package/lib/idl/src/orb/index.d.ts +0 -3
  33. package/lib/idl/src/orb/ior.d.ts +0 -89
  34. package/lib/idl/src/orb/orb.d.ts +0 -147
  35. package/lib/idl/src/orb/protocol.d.ts +0 -6
  36. package/lib/idl/src/orb/uint8map.d.ts +0 -14
  37. package/lib/idl/src/orb/url.d.ts +0 -55
  38. package/lib/src/idl/cc/typeIDLtoCC.d.ts +0 -6
  39. package/lib/src/idl/cc/typeIDLtoCC.js +0 -130
  40. package/lib/src/idl/cc/typeIDLtoCC.js.map +0 -1
  41. package/lib/src/idl/cc/typeIDLtoGIOPCC.d.ts +0 -3
  42. package/lib/src/idl/cc/typeIDLtoGIOPCC.js +0 -129
  43. package/lib/src/idl/cc/typeIDLtoGIOPCC.js.map +0 -1
  44. package/lib/src/idl/cc/write-code.d.ts +0 -2
  45. package/lib/src/idl/cc/write-code.js +0 -245
  46. package/lib/src/idl/cc/write-code.js.map +0 -1
  47. package/lib/src/idl/cc/write-interface.d.ts +0 -4
  48. package/lib/src/idl/cc/write-interface.js +0 -200
  49. package/lib/src/idl/cc/write-interface.js.map +0 -1
  50. package/lib/src/idl/cc/write-skeleton.d.ts +0 -2
  51. package/lib/src/idl/cc/write-skeleton.js +0 -43
  52. package/lib/src/idl/cc/write-skeleton.js.map +0 -1
  53. package/lib/src/idl/cc/write-stub.d.ts +0 -2
  54. package/lib/src/idl/cc/write-stub.js +0 -91
  55. package/lib/src/idl/cc/write-stub.js.map +0 -1
  56. package/lib/src/idl/idl-lexer.d.ts +0 -19
  57. package/lib/src/idl/idl-lexer.js +0 -234
  58. package/lib/src/idl/idl-lexer.js.map +0 -1
  59. package/lib/src/idl/idl-node.d.ts +0 -102
  60. package/lib/src/idl/idl-node.js +0 -214
  61. package/lib/src/idl/idl-node.js.map +0 -1
  62. package/lib/src/idl/idl-parser.d.ts +0 -3
  63. package/lib/src/idl/idl-parser.js +0 -1210
  64. package/lib/src/idl/idl-parser.js.map +0 -1
  65. package/lib/src/idl/idl.d.ts +0 -1
  66. package/lib/src/idl/idl.js +0 -219
  67. package/lib/src/idl/idl.js.map +0 -1
  68. package/lib/src/idl/ts/typeIDLtoGIOPTS.d.ts +0 -3
  69. package/lib/src/idl/ts/typeIDLtoGIOPTS.js +0 -101
  70. package/lib/src/idl/ts/typeIDLtoGIOPTS.js.map +0 -1
  71. package/lib/src/idl/ts/typeIDLtoTS.d.ts +0 -3
  72. package/lib/src/idl/ts/typeIDLtoTS.js +0 -92
  73. package/lib/src/idl/ts/typeIDLtoTS.js.map +0 -1
  74. package/lib/src/idl/ts/write-interface.d.ts +0 -2
  75. package/lib/src/idl/ts/write-interface.js +0 -214
  76. package/lib/src/idl/ts/write-interface.js.map +0 -1
  77. package/lib/src/idl/ts/write-skeleton.d.ts +0 -2
  78. package/lib/src/idl/ts/write-skeleton.js +0 -118
  79. package/lib/src/idl/ts/write-skeleton.js.map +0 -1
  80. package/lib/src/idl/ts/write-stub.d.ts +0 -2
  81. package/lib/src/idl/ts/write-stub.js +0 -118
  82. package/lib/src/idl/ts/write-stub.js.map +0 -1
  83. package/lib/src/idl/ts/write-value.d.ts +0 -2
  84. package/lib/src/idl/ts/write-value.js +0 -208
  85. package/lib/src/idl/ts/write-value.js.map +0 -1
  86. package/lib/src/idl/ts/write-valueimpl.d.ts +0 -2
  87. package/lib/src/idl/ts/write-valueimpl.js +0 -159
  88. package/lib/src/idl/ts/write-valueimpl.js.map +0 -1
  89. package/lib/src/idl/ts/write-valuetype.d.ts +0 -2
  90. package/lib/src/idl/ts/write-valuetype.js +0 -99
  91. package/lib/src/idl/ts/write-valuetype.js.map +0 -1
  92. package/lib/src/idl/util.d.ts +0 -22
  93. package/lib/src/idl/util.js +0 -84
  94. package/lib/src/idl/util.js.map +0 -1
  95. package/lib/src/index.d.ts +0 -5
  96. package/lib/src/index.js +0 -6
  97. package/lib/src/index.js.map +0 -1
  98. package/lib/src/net/browser.d.ts +0 -27
  99. package/lib/src/net/browser.js +0 -101
  100. package/lib/src/net/browser.js.map +0 -1
  101. package/lib/src/net/index.d.ts +0 -3
  102. package/lib/src/net/index.js +0 -4
  103. package/lib/src/net/index.js.map +0 -1
  104. package/lib/src/net/tcp.d.ts +0 -10
  105. package/lib/src/net/tcp.js +0 -67
  106. package/lib/src/net/tcp.js.map +0 -1
  107. package/lib/src/net/tls.d.ts +0 -24
  108. package/lib/src/net/tls.js +0 -70
  109. package/lib/src/net/tls.js.map +0 -1
  110. package/lib/src/net/ws.d.ts +0 -42
  111. package/lib/src/net/ws.js +0 -159
  112. package/lib/src/net/ws.js.map +0 -1
  113. package/lib/src/orb/asn1.d.ts +0 -48
  114. package/lib/src/orb/asn1.js +0 -60
  115. package/lib/src/orb/asn1.js.map +0 -1
  116. package/lib/src/orb/connection.d.ts +0 -25
  117. package/lib/src/orb/connection.js +0 -19
  118. package/lib/src/orb/connection.js.map +0 -1
  119. package/lib/src/orb/giop.d.ts +0 -283
  120. package/lib/src/orb/giop.js +0 -1301
  121. package/lib/src/orb/giop.js.map +0 -1
  122. package/lib/src/orb/index.d.ts +0 -3
  123. package/lib/src/orb/index.js +0 -4
  124. package/lib/src/orb/index.js.map +0 -1
  125. package/lib/src/orb/ior.d.ts +0 -89
  126. package/lib/src/orb/ior.js +0 -113
  127. package/lib/src/orb/ior.js.map +0 -1
  128. package/lib/src/orb/orb.d.ts +0 -147
  129. package/lib/src/orb/orb.js +0 -712
  130. package/lib/src/orb/orb.js.map +0 -1
  131. package/lib/src/orb/protocol.d.ts +0 -6
  132. package/lib/src/orb/protocol.js +0 -2
  133. package/lib/src/orb/protocol.js.map +0 -1
  134. package/lib/src/orb/uint8map.d.ts +0 -14
  135. package/lib/src/orb/uint8map.js +0 -48
  136. package/lib/src/orb/uint8map.js.map +0 -1
  137. package/lib/src/orb/url.d.ts +0 -55
  138. package/lib/src/orb/url.js +0 -255
  139. package/lib/src/orb/url.js.map +0 -1
@@ -1,6 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare enum Direction {
3
- IN = 0,
4
- OUT = 1
5
- }
6
- export declare function typeIDLtoCC(type: Node | undefined, direction: Direction): string;
@@ -1,3 +0,0 @@
1
- import { Node } from "../idl-node";
2
- import { Direction } from "./typeIDLtoCC";
3
- export declare function typeIDLtoGIOPCC(type: Node | undefined, arg: string | undefined, direction: Direction): string;
@@ -1,2 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare function writeCCCode(specification: Node): void;
@@ -1,4 +0,0 @@
1
- import { Writable } from "stream";
2
- import { Node } from "../idl-node";
3
- export declare function writeCCInterface(specification: Node): void;
4
- export declare function writeCCInterfaceDefinitions(out: Writable, specification: Node, prefix?: string, indent?: number): void;
@@ -1,2 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare function writeCCSkeleton(specification: Node): void;
@@ -1,2 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare function writeCCStub(specification: Node): void;
@@ -1,19 +0,0 @@
1
- import { Node } from "./idl-node";
2
- export declare class Lexer {
3
- data: string;
4
- line: number;
5
- column: number;
6
- pos: number;
7
- state: number;
8
- text?: string;
9
- tokenStack: Array<Node>;
10
- static isAlpha(c: string): boolean;
11
- static isDigit(c: string): boolean;
12
- static isAlphaNumeric(c: string): boolean;
13
- constructor(data: string);
14
- eof(): boolean;
15
- getc(): string;
16
- ungetc(): void;
17
- unlex(token: Node | undefined): void;
18
- lex(): Node | undefined;
19
- }
@@ -1,102 +0,0 @@
1
- export declare enum Type {
2
- NONE = 0,
3
- TKN_IDENTIFIER = 1,
4
- TKN_TEXT = 2,
5
- TKN_COLON_COLON = 3,
6
- TKN_ABSTRACT = 4,
7
- TKN_ANY = 5,
8
- TKN_ATTRIBUTE = 6,
9
- TKN_BOOLEAN = 7,
10
- TKN_CASE = 8,
11
- TKN_CHAR = 9,
12
- TKN_COMPONENT = 10,
13
- TKN_CONST = 11,
14
- TKN_CONSUMES = 12,
15
- TKN_CONTEXT = 13,
16
- TKN_CUSTOM = 14,
17
- TKN_DEFAULT = 15,
18
- TKN_DOUBLE = 16,
19
- TKN_EXCEPTION = 17,
20
- TKN_EMITS = 18,
21
- TKN_ENUM = 19,
22
- TKN_EVENTTYPE = 20,
23
- TKN_FACTORY = 21,
24
- TKN_FALSE = 22,
25
- TKN_FINDER = 23,
26
- TKN_FIXED = 24,
27
- TKN_FLOAT = 25,
28
- TKN_GETRAISES = 26,
29
- TKN_HOME = 27,
30
- TKN_IMPORT = 28,
31
- TKN_IN = 29,
32
- TKN_INOUT = 30,
33
- TKN_INTERFACE = 31,
34
- TKN_LOCAL = 32,
35
- TKN_LONG = 33,
36
- TKN_MODULE = 34,
37
- TKN_MULTIPLE = 35,
38
- TKN_NATIVE = 36,
39
- TKN_OBJECT = 37,
40
- TKN_OCTET = 38,
41
- TKN_ONEWAY = 39,
42
- TKN_OUT = 40,
43
- TKN_PRIMARYKEY = 41,
44
- TKN_PRIVATE = 42,
45
- TKN_PROVIDES = 43,
46
- TKN_PUBLIC = 44,
47
- TKN_PUBLISHES = 45,
48
- TKN_RAISES = 46,
49
- TKN_READONLY = 47,
50
- TKN_SETRAISES = 48,
51
- TKN_SEQUENCE = 49,
52
- TKN_SHORT = 50,
53
- TKN_STRING = 51,
54
- TKN_STRUCT = 52,
55
- TKN_SUPPORTS = 53,
56
- TKN_SWITCH = 54,
57
- TKN_TRUE = 55,
58
- TKN_TRUNCATABLE = 56,
59
- TKN_TYPEDEF = 57,
60
- TKN_TYPEID = 58,
61
- TKN_TYPEPREFIX = 59,
62
- TKN_UNSIGNED = 60,
63
- TKN_UNION = 61,
64
- TKN_USES = 62,
65
- TKN_VALUEBASE = 63,
66
- TKN_VALUETYPE = 64,
67
- TKN_VOID = 65,
68
- TKN_WCHAR = 66,
69
- TKN_WSTRING = 67,
70
- SYN_SPECIFICATION = 68,
71
- SYN_INTERFACE = 69,
72
- SYN_INTERFACE_HEADER = 70,
73
- SYN_INTERFACE_BODY = 71,
74
- SYN_VALUE_HEADER = 72,
75
- SYN_VALUE_INHERITANCE_SPEC = 73,
76
- SYN_STATE_MEMBER = 74,
77
- SYN_TYPE_DECLARATOR = 75,
78
- SYN_DECLARATORS = 76,
79
- SYN_MEMBER_LIST = 77,
80
- SYN_MEMBER = 78,
81
- SYN_SWITCH_BODY = 79,
82
- SYN_OPERATION_DECLARATION = 80,
83
- SYN_PARAMETER_DECLARATIONS = 81,
84
- SYN_PARAMETER_DECLARATION = 82,
85
- SYN_TYPENAME = 83,
86
- SYN_LONGLONG = 84,
87
- SYN_UNSIGNED_SHORT = 85,
88
- SYN_UNSIGNED_LONG = 86,
89
- SYN_UNSIGNED_LONGLONG = 87,
90
- SYN_LONG_DOUBLE = 88
91
- }
92
- export declare class Node {
93
- type: Type;
94
- text?: string;
95
- typeParent: Node | undefined;
96
- child: Array<Node | undefined>;
97
- constructor(type: Type, text?: string);
98
- toString(): string;
99
- printTree(depth?: number): void;
100
- append(node: Node | undefined): void;
101
- prepend(node: Node | undefined): void;
102
- }
@@ -1,3 +0,0 @@
1
- import { Node } from "./idl-node";
2
- import { Lexer } from "./idl-lexer";
3
- export declare function specification(aLexer: Lexer): Node | undefined;
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import { Node } from "../idl-node";
2
- import { FileType } from "../util";
3
- export declare function typeIDLtoGIOPTS(type: Node | undefined, arg?: string | undefined, filetype?: FileType): string;
@@ -1,3 +0,0 @@
1
- import { Node } from "../idl-node";
2
- import { FileType } from "../util";
3
- export declare function typeIDLtoTS(type: Node | undefined, filetype?: FileType): string;
@@ -1,2 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare function writeTSInterface(specification: Node): void;
@@ -1,2 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare function writeTSSkeleton(specification: Node): void;
@@ -1,2 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare function writeTSStub(specification: Node): void;
@@ -1,2 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare function writeTSValue(specification: Node): void;
@@ -1,2 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare function writeTSValueImpl(specification: Node): void;
@@ -1,2 +0,0 @@
1
- import { Node } from "../idl-node";
2
- export declare function writeTSValueType(specification: Node): void;
@@ -1,22 +0,0 @@
1
- import { Node } from "./idl-node";
2
- import { Writable } from "stream";
3
- export declare let filename: string;
4
- export declare let filenamePrefix: string;
5
- export declare let filenameLocal: string;
6
- export declare function setFilename(name: string): void;
7
- export declare function setFilenamePrefix(prefix: string): void;
8
- export declare function setFilenameLocal(name: string): void;
9
- export declare let classAttributes: Map<string, string[]>;
10
- export declare function writeIndent(out: Writable, indent: number): void;
11
- export declare enum FileType {
12
- NONE = 0,
13
- VALUE = 1,
14
- VALUETYPE = 2,
15
- VALUEIMPL = 3,
16
- INTERFACE = 4,
17
- SKELETON = 5,
18
- STUB = 6
19
- }
20
- export declare function defaultValueIDLtoTS(type: Node | undefined, filetype?: FileType): string;
21
- export declare function hasValueType(specification: Node): boolean;
22
- export declare function hasNative(specification: Node): boolean;
@@ -1,5 +0,0 @@
1
- export * from './orb/uint8map';
2
- export * from './orb/url';
3
- export * from './orb/asn1';
4
- export * from './orb/giop';
5
- export * from './orb/orb';
@@ -1,27 +0,0 @@
1
- import { ORB } from "../orb/orb";
2
- import { Connection } from "../orb/connection";
3
- import { Protocol } from "../orb/protocol";
4
- export declare class WsProtocol implements Protocol {
5
- id: string;
6
- connect(orb: ORB, host: string, port: number): Promise<WsConnection>;
7
- close(): Promise<void>;
8
- }
9
- declare class WsConnection extends Connection {
10
- private socket?;
11
- private host;
12
- private port;
13
- private id;
14
- private retry;
15
- constructor(orb: ORB, host: string, port: number, id: string);
16
- connect(): Promise<void>;
17
- get localAddress(): string;
18
- get localPort(): number;
19
- get remoteAddress(): string;
20
- get remotePort(): number;
21
- close(): void;
22
- send(buffer: ArrayBuffer): void;
23
- onmessage(msg: MessageEvent): Promise<void>;
24
- onerror(ev: Event): Promise<void>;
25
- onclose(ev: CloseEvent): void;
26
- }
27
- export {};
@@ -1,3 +0,0 @@
1
- export * from './tcp';
2
- export * from './tls';
3
- export * from './ws';
@@ -1,10 +0,0 @@
1
- import { ORB } from "../orb/orb";
2
- import { Server } from "net";
3
- import { Connection } from "../orb/connection";
4
- import { Protocol } from "../orb/protocol";
5
- export declare class TcpProtocol implements Protocol {
6
- serverSocket?: Server;
7
- connect(orb: ORB, hostname: string, port: number): Promise<Connection>;
8
- listen(orb: ORB, hostname: string, port: number): void;
9
- close(): Promise<void>;
10
- }
@@ -1,24 +0,0 @@
1
- import { ORB } from "../orb/orb";
2
- import { Server, TlsOptions, TLSSocket } from "tls";
3
- import { Connection } from "../orb/connection";
4
- import { Protocol } from "../orb/protocol";
5
- export declare class TlsProtocol implements Protocol {
6
- options: TlsOptions;
7
- serverSocket?: Server;
8
- constructor(options?: TlsOptions);
9
- connect(orb: ORB, hostname: string, port: number): Promise<Connection>;
10
- listen(orb: ORB, hostname: string, port: number): Promise<void>;
11
- close(): Promise<void>;
12
- }
13
- export declare class TlsConnection extends Connection {
14
- socket: TLSSocket;
15
- constructor(socket: TLSSocket, orb: ORB);
16
- get peerCertificate(): import("tls").PeerCertificate;
17
- get localAddress(): string;
18
- get localPort(): number;
19
- get remoteAddress(): string;
20
- get remotePort(): number;
21
- connect(): Promise<void>;
22
- close(): void;
23
- send(buffer: ArrayBuffer): void;
24
- }
@@ -1,42 +0,0 @@
1
- import { ORB } from "../orb/orb";
2
- import { Connection } from "../orb/connection";
3
- import { Protocol } from "../orb/protocol";
4
- import * as http from "http";
5
- import * as https from "https";
6
- import { connection as WebSocketConnection } from "websocket";
7
- export declare abstract class WsProtocolBase<S extends http.Server, O extends http.ServerOptions> implements Protocol {
8
- serverSocket?: S;
9
- serverOptions?: O;
10
- constructor(options?: O);
11
- abstract getUrl(host: string, port: number): string;
12
- abstract createServer(): S;
13
- abstract createConnection(orb: ORB, connection: WebSocketConnection): WsConnection;
14
- connect(orb: ORB, host: string, port: number): Promise<Connection>;
15
- listen(orb: ORB, port: number): void;
16
- close(): Promise<void>;
17
- }
18
- export declare class WsProtocol extends WsProtocolBase<http.Server, http.ServerOptions> {
19
- createServer(): http.Server;
20
- createConnection(orb: ORB, connection: WebSocketConnection): WsConnection;
21
- getUrl(host: string, port: number): string;
22
- }
23
- export declare class WssProtocol extends WsProtocolBase<https.Server, https.ServerOptions> {
24
- createServer(): https.Server;
25
- createConnection(orb: ORB, connection: WebSocketConnection): WsConnection;
26
- getUrl(host: string, port: number): string;
27
- }
28
- export declare class WsConnection extends Connection {
29
- protected wsConnection: WebSocketConnection;
30
- constructor(orb: ORB, connection: WebSocketConnection);
31
- get localAddress(): string;
32
- get localPort(): number;
33
- get remoteAddress(): string;
34
- get remotePort(): number;
35
- connect(): Promise<void>;
36
- close(): void;
37
- send(buffer: ArrayBuffer): void;
38
- }
39
- export declare class WssConnection extends WsConnection {
40
- constructor(orb: ORB, connection: WebSocketConnection);
41
- get peerCertificate(): import("tls").PeerCertificate;
42
- }
@@ -1,48 +0,0 @@
1
- export declare class ASN1Tag extends Object {
2
- tagClass: number;
3
- tag: number;
4
- encoding: number;
5
- length: number;
6
- constructor();
7
- constructor(tagClass: number, tag: number, encoding: number, length: number);
8
- toString(): string;
9
- }
10
- export declare enum ASN1Encoding {
11
- PRIMITIVE = 0,
12
- CONSTRUCTED = 1
13
- }
14
- export declare enum ASN1Class {
15
- UNIVERSAL = 0,
16
- APPLICATION = 1,
17
- CONTEXT = 2,
18
- PRIVATE = 3
19
- }
20
- export declare enum ASN1UniversalTag {
21
- EOC = 0,
22
- BOOLEAN = 1,
23
- INTEGER = 2,
24
- BITSTRING = 3,
25
- OCTETSTRING = 4,
26
- NULLTAG = 5,
27
- OID = 6,
28
- OBJDESCRIPTOR = 7,
29
- EXTERNAL = 8,
30
- REAL = 9,
31
- ENUMERATED = 10,
32
- EMBEDDED_PDV = 11,
33
- UTF8STRING = 12,
34
- SEQUENCE = 16,
35
- SET = 17,
36
- NUMERICSTRING = 18,
37
- PRINTABLESTRING = 19,
38
- T61STRING = 20,
39
- VIDEOTEXSTRING = 21,
40
- IA5STRING = 22,
41
- UTCTIME = 23,
42
- GENERALIZEDTIME = 24,
43
- GRAPHICSTRING = 25,
44
- VISIBLESTRING = 26,
45
- GENERALSTRING = 27,
46
- UNIVERSALSTRING = 28,
47
- BMPSTRING = 29
48
- }
@@ -1,25 +0,0 @@
1
- import { Uint8Map } from "./uint8map";
2
- import { ORB, Stub, PromiseHandler } from "./orb";
3
- export declare abstract class Connection {
4
- constructor(orb: ORB);
5
- orb: ORB;
6
- requestId: number;
7
- didSendBiDirIIOP: boolean;
8
- stubsById: Uint8Map<Stub>;
9
- pendingReplies: Map<number, PromiseHandler>;
10
- initialContextTokens: Map<BigInt, InitialContextToken>;
11
- abstract get localAddress(): string;
12
- abstract get localPort(): number;
13
- abstract get remoteAddress(): string;
14
- abstract get remotePort(): number;
15
- abstract connect(): Promise<void>;
16
- abstract close(): void;
17
- abstract send(buffer: ArrayBuffer): void;
18
- }
19
- declare class InitialContextToken {
20
- username: string;
21
- password: string;
22
- target_name: string;
23
- constructor(username: string, password: string, realm: string);
24
- }
25
- export {};