PortManagerServiceBase constructor
PortManagerServiceBase()
Implementation
PortManagerServiceBase() {
$addMethod($grpc.ServiceMethod<$0.Empty, $8.PortInfoList>(
'GetAllPorts',
getAllPorts_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($8.PortInfoList value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$8.PortInfo, $1.OperationResponse>(
'AddPort',
addPort_Pre,
false,
false,
($core.List<$core.int> value) => $8.PortInfo.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$8.PortInfo, $1.OperationResponse>(
'UpdatePort',
updatePort_Pre,
false,
false,
($core.List<$core.int> value) => $8.PortInfo.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$8.PortInfo, $1.OperationResponse>(
'DelPort',
delPort_Pre,
false,
false,
($core.List<$core.int> value) => $8.PortInfo.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $8.PortInfoList>(
'GetAllPortInfoListByServerUuid',
getAllPortInfoListByServerUuid_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($8.PortInfoList value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $8.HttpInfoList>(
'GetAllHttpInfoListByServerUuid',
getAllHttpInfoListByServerUuid_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($8.HttpInfoList value) => value.writeToBuffer()));
}