Code polish
This commit is contained in:
@@ -31,6 +31,10 @@ export abstract class SmppSession {
|
||||
|
||||
abstract _username: string;
|
||||
|
||||
get username(): string {
|
||||
return this._username;
|
||||
}
|
||||
|
||||
set username(username: string) {
|
||||
this._username = username;
|
||||
this.eventEmitter.emit(this.EVENT.STATE_CHANGED, this.serialize());
|
||||
@@ -38,6 +42,10 @@ export abstract class SmppSession {
|
||||
|
||||
abstract _password: string;
|
||||
|
||||
get password(): string {
|
||||
return this._password;
|
||||
}
|
||||
|
||||
set password(password: string) {
|
||||
this._password = password;
|
||||
this.eventEmitter.emit(this.EVENT.STATE_CHANGED, this.serialize());
|
||||
|
Reference in New Issue
Block a user