mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 09:52:57 +03:00
28 lines
386 B
JavaScript
28 lines
386 B
JavaScript
/**
|
|
* Parent interface.
|
|
* @interface
|
|
*/
|
|
function Connection() {}
|
|
|
|
/**
|
|
* Open the connection.
|
|
*/
|
|
Connection.prototype.open = function() {};
|
|
|
|
/**
|
|
* Child class.
|
|
* @class
|
|
* @implements {Connection}
|
|
*/
|
|
function Socket() {}
|
|
|
|
/** @inheritdoc */
|
|
Socket.prototype.open = function() {};
|
|
|
|
/**
|
|
* Extension of child class.
|
|
* @class
|
|
* @extends {Socket}
|
|
*/
|
|
function EncryptedSocket() {}
|