本文整理汇总了Golang中git/apache/org/thrift/git/lib/go/thrift.TProtocolFactory类的典型用法代码示例。如果您正苦于以下问题:Golang TProtocolFactory类的具体用法?Golang TProtocolFactory怎么用?Golang TProtocolFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了TProtocolFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。
示例1: NewSharedServiceClientFactory
func NewSharedServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *SharedServiceClient {
return &SharedServiceClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例2: NewSmsManagerClientFactory
func NewSmsManagerClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *SmsManagerClient {
return &SmsManagerClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例3: NewContactSvcClientFactory
func NewContactSvcClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ContactSvcClient {
return &ContactSvcClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例4: NewResourceHistoryManagerClientFactory
func NewResourceHistoryManagerClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ResourceHistoryManagerClient {
return &ResourceHistoryManagerClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例5: NewPrivateMessageManagerSyncClientFactory
func NewPrivateMessageManagerSyncClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PrivateMessageManagerSyncClient {
return &PrivateMessageManagerSyncClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例6: NewThriftSourceProtocolClientFactory
func NewThriftSourceProtocolClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ThriftSourceProtocolClient {
return &ThriftSourceProtocolClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例7: NewHelloWordClientFactory
func NewHelloWordClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *HelloWordClient {
return &HelloWordClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例8: NewBoltManagerServiceClientFactory
func NewBoltManagerServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *BoltManagerServiceClient {
return &BoltManagerServiceClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例9: NewChatManagerSyncClientFactory
func NewChatManagerSyncClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ChatManagerSyncClient {
return &ChatManagerSyncClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例10: NewBinaryMessengerClientFactory
func NewBinaryMessengerClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *BinaryMessengerClient {
return &BinaryMessengerClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例11: NewAuthenticationClientFactory
func NewAuthenticationClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AuthenticationClient {
return &AuthenticationClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例12: NewSportanUserSvcClientFactory
func NewSportanUserSvcClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *SportanUserSvcClient {
return &SportanUserSvcClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例13: NewExampleClientFactory
func NewExampleClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ExampleClient {
return &ExampleClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例14: NewIdoallThriftClientFactory
func NewIdoallThriftClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *IdoallThriftClient {
return &IdoallThriftClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}
示例15: NewMutableEphemeralStateServiceClientFactory
func NewMutableEphemeralStateServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *MutableEphemeralStateServiceClient {
return &MutableEphemeralStateServiceClient{Transport: t,
ProtocolFactory: f,
InputProtocol: f.GetProtocol(t),
OutputProtocol: f.GetProtocol(t),
SeqId: 0,
}
}