Twitch SDK (Internal)
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
ttv::binding::java::JavaSocketFactoryBase Class Reference

#include <java_socket.h>

Inheritance diagram for ttv::binding::java::JavaSocketFactoryBase:
ttv::binding::java::JavaSocketFactory ttv::binding::java::JavaWebSocketFactory

Public Member Functions

GlobalJavaObjectReferenceGetJavaInstance ()
 

Protected Member Functions

 JavaSocketFactoryBase (JNIEnv *jEnv, jobject jInstance, jmethodID isProtocolSupportedId, jmethodID createMethodId)
 
virtual ~JavaSocketFactoryBase ()
 
bool IsProtocolSupported (const std::string &protocol)
 
TTV_ErrorCode CreateSocket (const std::string &uri, jobject &result)
 

Protected Attributes

GlobalJavaObjectReference mJavaInstance
 The java implementation of the factory. More...
 

Private Attributes

jmethodID mIsProtocolSupportedId
 
jmethodID mCreateMethodId
 

Constructor & Destructor Documentation

◆ JavaSocketFactoryBase()

ttv::binding::java::JavaSocketFactoryBase::JavaSocketFactoryBase ( JNIEnv *  jEnv,
jobject  jInstance,
jmethodID  isProtocolSupportedId,
jmethodID  createMethodId 
)
protected

◆ ~JavaSocketFactoryBase()

virtual ttv::binding::java::JavaSocketFactoryBase::~JavaSocketFactoryBase ( )
protectedvirtual

Member Function Documentation

◆ CreateSocket()

TTV_ErrorCode ttv::binding::java::JavaSocketFactoryBase::CreateSocket ( const std::string &  uri,
jobject &  result 
)
protected

◆ GetJavaInstance()

GlobalJavaObjectReference& ttv::binding::java::JavaSocketFactoryBase::GetJavaInstance ( )
inline

◆ IsProtocolSupported()

bool ttv::binding::java::JavaSocketFactoryBase::IsProtocolSupported ( const std::string &  protocol)
protected

Member Data Documentation

◆ mCreateMethodId

jmethodID ttv::binding::java::JavaSocketFactoryBase::mCreateMethodId
private

◆ mIsProtocolSupportedId

jmethodID ttv::binding::java::JavaSocketFactoryBase::mIsProtocolSupportedId
private

◆ mJavaInstance

GlobalJavaObjectReference ttv::binding::java::JavaSocketFactoryBase::mJavaInstance
protected

The java implementation of the factory.


The documentation for this class was generated from the following file: