コード例 #1
0
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
0
ファイル: smsmanager.go プロジェクト: lei-yu/GOPATH
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
0
ファイル: contactsvc.go プロジェクト: ianrtracey/go-thrift
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
0
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
0
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
0
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
0
ファイル: helloword.go プロジェクト: flueg/PrivateWorkSpace
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
0
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
0
ファイル: chatmanagersync.go プロジェクト: lei-yu/GOPATH
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
0
ファイル: binary_messenger.go プロジェクト: mvpmvh/DE2
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
0
ファイル: authentication.go プロジェクト: huodon/tyful
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
0
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
0
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
0
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
0
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,
	}
}
コード例 #16
0
ファイル: maketags.go プロジェクト: faiq/intro-to-rpc
func NewMakeTagsClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *MakeTagsClient {
	return &MakeTagsClient{Transport: t,
		ProtocolFactory: f,
		InputProtocol:   f.GetProtocol(t),
		OutputProtocol:  f.GetProtocol(t),
		SeqId:           0,
	}
}