Documentation ¶
Overview ¶
* Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
Index ¶
- Constants
- func New(ctx activity.InitContext) (activity.Activity, error)
- func RegisterPipeCouplerServer(s *grpc.Server, srv PipeCouplerServer)
- type Activity
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetContent() string
- func (m *Data) GetID() string
- func (m *Data) GetSender() string
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type Input
- type Output
- type PipeCouplerClient
- type PipeCouplerServer
- type Reply
- func (*Reply) Descriptor() ([]byte, []int)
- func (m *Reply) GetContent() string
- func (m *Reply) GetID() string
- func (m *Reply) GetSender() string
- func (m *Reply) GetStatus() bool
- func (*Reply) ProtoMessage()
- func (m *Reply) Reset()
- func (m *Reply) String() string
- func (m *Reply) XXX_DiscardUnknown()
- func (m *Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reply) XXX_Merge(src proto.Message)
- func (m *Reply) XXX_Size() int
- func (m *Reply) XXX_Unmarshal(b []byte) error
- type Settings
- type UnimplementedPipeCouplerServer
Constants ¶
View Source
const ( DownstreamHost = "DownstreamHost" Port = "Port" )
Variables ¶
This section is empty.
Functions ¶
func RegisterPipeCouplerServer ¶
func RegisterPipeCouplerServer(s *grpc.Server, srv PipeCouplerServer)
Types ¶
type Data ¶
type Data struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Data) Descriptor ¶
func (*Data) GetContent ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type PipeCouplerClient ¶
type PipeCouplerClient interface {
HandleData(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Reply, error)
}
PipeCouplerClient is the client API for PipeCoupler service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPipeCouplerClient ¶
func NewPipeCouplerClient(cc grpc.ClientConnInterface) PipeCouplerClient
type PipeCouplerServer ¶
PipeCouplerServer is the server API for PipeCoupler service.
type Reply ¶
type Reply struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Status bool `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Reply) Descriptor ¶
func (*Reply) GetContent ¶
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
func (*Reply) XXX_DiscardUnknown ¶
func (m *Reply) XXX_DiscardUnknown()
func (*Reply) XXX_Marshal ¶
func (*Reply) XXX_Unmarshal ¶
type UnimplementedPipeCouplerServer ¶
type UnimplementedPipeCouplerServer struct { }
UnimplementedPipeCouplerServer can be embedded to have forward compatible implementations.
func (*UnimplementedPipeCouplerServer) HandleData ¶
Click to show internal directories.
Click to hide internal directories.