本文整理了Java中akka.protobuf.Parser
类的一些代码示例,展示了Parser
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Parser
类的具体详情如下:
包路径:akka.protobuf.Parser
类名称:Parser
[英]Abstract interface for parsing Protocol Messages.
[中]用于解析协议消息的抽象接口。
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.SinkRef parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.SinkRef parseFrom(
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.SinkRef parseFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.SinkRef parseDelimitedFrom(java.io.InputStream input)
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.SourceRef parseFrom(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.SourceRef parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.SourceRef parseFrom(
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.ActorRef parseFrom(
akka.protobuf.ByteString data,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.ActorRef parseFrom(byte[] data)
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.RemoteStreamCompleted parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.RemoteStreamCompleted parseFrom(
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.Payload parseFrom(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
代码示例来源:origin: com.typesafe.akka/akka-stream_2.11
public static akka.stream.StreamRefMessages.CumulativeDemand parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseFrom(
akka.protobuf.ByteString data,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseFrom(byte[] data)
代码示例来源:origin: com.typesafe.akka/akka-stream_2.11
public static akka.stream.StreamRefMessages.RemoteStreamCompleted parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.RemoteStreamCompleted parseFrom(
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseDelimitedFrom(java.io.InputStream input)
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseFrom(
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(
akka.protobuf.ByteString data,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(byte[] data)
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.CumulativeDemand parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(
akka.protobuf.CodedInputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.RemoteStreamFailure parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(
akka.protobuf.ByteString data,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(byte[] data)
代码示例来源:origin: com.typesafe.akka/akka-stream_2.11
public static akka.stream.StreamRefMessages.SinkRef parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.SinkRef parseFrom(
代码示例来源:origin: com.typesafe.akka/akka-stream_2.12
public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(
byte[] data,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws akka.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(java.io.InputStream input)
代码示例来源:origin: com.typesafe.akka/akka-stream_2.11
public static akka.stream.StreamRefMessages.Payload parseDelimitedFrom(
java.io.InputStream input,
akka.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.Payload parseFrom(
内容来源于网络,如有侵权,请联系作者删除!