public interface IWaXcoding
Modifier and Type | Method and Description |
---|---|
int |
getPort()
Get proxy port
|
String |
getSecret(String id,
boolean remove)
Get secret String that is used for confirmation of correct server-client
combination
|
void |
setExternalProxy(String host,
int port)
Set external proxy information
|
void |
setExternalProxyFlag(boolean flag)
Set boolean value to specify if HTTPProxy needs to use an external proxy
|
void |
setMaxConnection(int connections)
Set maximum connection number of the proxy
|
void |
setPort(int port)
Set proxy port
|
void |
setSWFBootloader(InputStream is)
Set
InputStream of SWF boot loader |
void |
setSWFBootloaderFlag(boolean flag)
Set boolean value to specify if Proxy needs to use SWF boot loader
|
void |
setSWFBootloaderV9(InputStream is) |
void |
setSWFBridgeInit(InputStream is)
Set
InputStream of SWF bridge |
void |
setSWFBridgeInitV9(InputStream is) |
void |
setSWFTranscodingFlag(boolean flag)
Set boolean value to specify if Proxy needs to use
ISwfTranscoder |
void |
setSWFTranscodingImposedFile(InputStream is)
Set
InputStream for Object that will be imposed by
ISwfTranscoder |
void |
setSWFTranscodingMinimumVersion(int version)
Set minimum version of target SWF content
|
void |
setTimeout(int timeout)
Set time out value of the proxy
|
boolean |
start(boolean initLogger)
Start proxy
|
boolean |
stop()
Stop proxy
|
boolean start(boolean initLogger)
initLogger
- if true, start logging togetherboolean stop()
String getSecret(String id, boolean remove)
id
- target key to obtain the secretremove
- if true, the secret will be removed after invoking this methodISecretManager
void setPort(int port)
port
- target port numberProxyConfig.setPort(int)
int getPort()
void setExternalProxyFlag(boolean flag)
flag
- true to use external proxyExternalProxyConfig
void setExternalProxy(String host, int port)
host
- proxy hostport
- proxy portExternalProxyConfig.setExternalProxy(String, int)
void setMaxConnection(int connections)
connections
- maximum connection numberProxyConfig.setMaxConnection(int)
void setTimeout(int timeout)
timeout
- time out valueProxyConfig.setTimeout(int)
void setSWFBootloaderFlag(boolean flag)
flag
- true to use boot loadervoid setSWFBootloader(InputStream is)
InputStream
of SWF boot loaderis
- target InputStream
void setSWFBridgeInit(InputStream is)
InputStream
of SWF bridgeis
- target InputStream
void setSWFTranscodingFlag(boolean flag)
ISwfTranscoder
flag
- true to use boot loadervoid setSWFTranscodingMinimumVersion(int version)
version
- minimum version of target SWF contentvoid setSWFTranscodingImposedFile(InputStream is)
InputStream
for Object that will be imposed by
ISwfTranscoder
is
- target InputStream
ISwfTranscoder.impose(Object, Object)
void setSWFBootloaderV9(InputStream is)
void setSWFBridgeInitV9(InputStream is)