ApplicationServer constructor Null safety
- Type channelType,
- ApplicationOptions options,
- int identifier
Creates a new server.
You should not need to invoke this method directly.
Implementation
ApplicationServer(this.channelType, this.options, this.identifier) {
channel = (RuntimeContext.current[channelType] as ChannelRuntime)
.instantiateChannel()
..server = this
..options = options;
}