當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。