当前位置: 首页>>代码示例>>Golang>>正文


Golang thrift.TProtocolFactory类代码示例

本文整理汇总了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,
	}
}
开发者ID:glycerine,项目名称:golang-thrift-minimal-example,代码行数:8,代码来源:sharedservice.go

示例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,
	}
}
开发者ID:lei-yu,项目名称:GOPATH,代码行数:8,代码来源:smsmanager.go

示例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,
	}
}
开发者ID:ianrtracey,项目名称:go-thrift,代码行数:8,代码来源:contactsvc.go

示例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,
	}
}
开发者ID:lei-yu,项目名称:GOPATH,代码行数:8,代码来源:resourcehistorymanager.go

示例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,
	}
}
开发者ID:lei-yu,项目名称:GOPATH,代码行数:8,代码来源:privatemessagemanagersync.go

示例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,
	}
}
开发者ID:ceocoder,项目名称:glumelogger,代码行数:8,代码来源:thriftsourceprotocol.go

示例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,
	}
}
开发者ID:flueg,项目名称:PrivateWorkSpace,代码行数:8,代码来源:helloword.go

示例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,
	}
}
开发者ID:concord,项目名称:concord-go,代码行数:8,代码来源:boltmanagerservice.go

示例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,
	}
}
开发者ID:lei-yu,项目名称:GOPATH,代码行数:8,代码来源:chatmanagersync.go

示例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,
	}
}
开发者ID:mvpmvh,项目名称:DE2,代码行数:8,代码来源:binary_messenger.go

示例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,
	}
}
开发者ID:huodon,项目名称:tyful,代码行数:8,代码来源:authentication.go

示例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,
	}
}
开发者ID:sebsofen,项目名称:sportapp-server,代码行数:8,代码来源:sportanusersvc.go

示例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,
	}
}
开发者ID:collinmsn,项目名称:thrift-client-pool,代码行数:8,代码来源:example.go

示例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,
	}
}
开发者ID:wallacexinyu,项目名称:Distributed-Productivity-Calendar,代码行数:8,代码来源:idoallthrift.go

示例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,
	}
}
开发者ID:concord,项目名称:concord-go,代码行数:8,代码来源:mutableephemeralstateservice.go


注:本文中的git/apache/org/thrift/git/lib/go/thrift.TProtocolFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。