Documentation ¶
Index ¶
- Variables
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetHost() string
- func (x *Address) GetId() string
- func (x *Address) GetName() string
- func (x *Address) GetPort() int32
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type RemoteMessage
- func (*RemoteMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteMessage) GetMessage() *anypb.Any
- func (x *RemoteMessage) GetReceiver() *Address
- func (x *RemoteMessage) GetSender() *Address
- func (*RemoteMessage) ProtoMessage()
- func (x *RemoteMessage) ProtoReflect() protoreflect.Message
- func (x *RemoteMessage) Reset()
- func (x *RemoteMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_messages_v1_address_proto protoreflect.FileDescriptor
View Source
var File_messages_v1_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // Specifies the remote host address Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Specifies the remote port Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Specifies the actor name Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Specifies the actor unique id on the remote host Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Address represents an actor address
func (*Address) Descriptor
deprecated
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type RemoteMessage ¶
type RemoteMessage struct { // Specifies the sender' address Sender *Address `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Specifies the actor address Receiver *Address `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` // Specifies the message to send to the actor // Any proto message is allowed to be sent Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
RemoteMessage will be used by Actors to communicate remotely
func (*RemoteMessage) Descriptor
deprecated
func (*RemoteMessage) Descriptor() ([]byte, []int)
Deprecated: Use RemoteMessage.ProtoReflect.Descriptor instead.
func (*RemoteMessage) GetMessage ¶
func (x *RemoteMessage) GetMessage() *anypb.Any
func (*RemoteMessage) GetReceiver ¶
func (x *RemoteMessage) GetReceiver() *Address
func (*RemoteMessage) GetSender ¶
func (x *RemoteMessage) GetSender() *Address
func (*RemoteMessage) ProtoMessage ¶
func (*RemoteMessage) ProtoMessage()
func (*RemoteMessage) ProtoReflect ¶
func (x *RemoteMessage) ProtoReflect() protoreflect.Message
func (*RemoteMessage) Reset ¶
func (x *RemoteMessage) Reset()
func (*RemoteMessage) String ¶
func (x *RemoteMessage) String() string
Click to show internal directories.
Click to hide internal directories.