Method | Description | |
---|---|---|
acceptFile ( String fromChannel, String exchangeId, int chunkTimeoutMsec, int chunkRetries, long chunkSize ) : bool | ||
acceptMultiFiles ( String fromChannel, String taskId, int chunkTimeout, int chunkRetries, long chunkSize ) : bool | ||
browseFiles ( ) : void | ||
cancelFile ( String toChannel, String exchangeId ) : bool | ||
cancelMultiFiles ( String toChannel, String taskId ) : bool | ||
close ( ) : void | ||
getAvailableInterfaceTypes ( ) : List |
||
getIp ( ) : String | ||
getJoinedChannelList ( ) : List |
||
getJoinedNodeList ( String channelName ) : List |
||
getLastError ( ) : int | ||
getNICList ( int handle ) : String[] | ||
getName ( ) : String | ||
getNodeIpAddress ( String channelName, String nodeName ) : String | ||
getObject ( ) : ChordUnity, | ||
getVersionCode ( ) : int | ||
getVersionName ( ) : String | ||
init ( ) : void | ||
isSmartDiscoveryEnabled ( ) : bool | ||
joinChannel ( String channelName ) : bool | ||
leaveChannel ( String channelName ) : void | ||
onBrowseResult ( String fileName ) : void | ||
onStopped ( int reason ) : void | ||
rejectFile ( String toChannel, String exchangeId ) : bool | ||
rejectMultiFiles ( String toChannel, String taskId ) : bool | ||
resetSmartDiscoveryPeriod ( ) : void | ||
sendData ( String toChannel, String nodeName, String payloadType, byte payload ) : void | ||
sendDataToAll ( String toChannel, String payloadType, byte payload ) : void | ||
sendFile ( String toChannel, String toNode, String fileType, String strFilePath, int timeoutMsec ) : String | ||
sendMultiFiles ( String toChannel, String toNode, String fileType, List |
||
sendUdpData ( String toChannel, String toNode, int reliableTime, bool respFlag, String payloadType, byte payload, String sessionName ) : String | ||
sendUdpDataToAll ( String toChannel, int reliableTime, bool respFlag, String payloadType, byte payload, String sessionName ) : String | ||
setNetworkListener ( ChordUnityNetworkListener listener ) : void | ||
setNodeKeepAliveTimeout ( int timeoutMsec ) : void | ||
setSecureModeEnabled ( bool enabled ) : void | ||
setSendMultiFilesLimitCount ( int count ) : void | ||
setSmartDiscoveryEnabled ( bool enabled ) : void | ||
setTempDirectory ( String tmpDirPath ) : void | ||
start ( int interfaceType, ChordUnityChannelListener cListener, ChordUnityStatusListener sListener ) : int | ||
stop ( ) : void | ||
viewLicense ( ) : void |
Method | Description | |
---|---|---|
ChordUnity ( ) : System | ||
Start ( ) : void | ||
isSecureChannel ( String channelName ) : bool | ||
onConnected ( String interfaceType ) : void | ||
onDataReceiveEvent ( String hkey ) : void | ||
onDataReceived ( String fromNode, String fromChannel, String payloadType, byte payload ) : void | ||
onDisconnected ( String interfaceType ) : void | ||
onFileChunkReceived ( String hkey ) : void | ||
onFileChunkSent ( String hkey ) : void | ||
onFileFailed ( String hkey ) : void | ||
onFileReceived ( String hkey ) : void | ||
onFileSent ( String hkey ) : void | ||
onFileWillReceive ( String hkey ) : void | ||
onMultiFilesChunkReceived ( String hkey ) : void | ||
onMultiFilesChunkSent ( String hkey ) : void | ||
onMultiFilesFailed ( String hkey ) : void | ||
onMultiFilesFinished ( String hkey ) : void | ||
onMultiFilesReceived ( String hkey ) : void | ||
onMultiFilesSent ( String hkey ) : void | ||
onMultiFilesWillReceive ( String hkey ) : void | ||
onNodeJoined ( String fromNode, String fromChannel ) : void | ||
onNodeJoinedEvent ( String hkey ) : void | ||
onNodeLeft ( String fromNode, String fromChannel ) : void | ||
onNodeLeftEvent ( String hkey ) : void | ||
onStarted ( String nodeName, int reason ) : void | ||
onStartedEvent ( String hkey ) : void | ||
onStoppedEvent ( String hkey ) : void | ||
onUdpDataDelivered ( string toNode, string toChannel, string reqId ) : void | ||
onUdpDataDeliveredEvent ( String hkey ) : void | ||
onUdpDataReceived ( string fromNode, string fromChannel, string payloadType, byte payload, string sessionName ) : void | ||
onUdpDataReceivedEvent ( String hkey ) : void |
public acceptFile ( String fromChannel, String exchangeId, int chunkTimeoutMsec, int chunkRetries, long chunkSize ) : bool | ||
fromChannel | String | |
exchangeId | String | |
chunkTimeoutMsec | int | |
chunkRetries | int | |
chunkSize | long | |
return | bool |
public acceptMultiFiles ( String fromChannel, String taskId, int chunkTimeout, int chunkRetries, long chunkSize ) : bool | ||
fromChannel | String | |
taskId | String | |
chunkTimeout | int | |
chunkRetries | int | |
chunkSize | long | |
return | bool |
public cancelFile ( String toChannel, String exchangeId ) : bool | ||
toChannel | String | |
exchangeId | String | |
return | bool |
public cancelMultiFiles ( String toChannel, String taskId ) : bool | ||
toChannel | String | |
taskId | String | |
return | bool |
public getJoinedNodeList ( String channelName ) : List |
||
channelName | String | |
return | List |
public getNodeIpAddress ( String channelName, String nodeName ) : String | ||
channelName | String | |
nodeName | String | |
return | String |
public joinChannel ( String channelName ) : bool | ||
channelName | String | |
return | bool |
public leaveChannel ( String channelName ) : void | ||
channelName | String | |
return | void |
public onBrowseResult ( String fileName ) : void | ||
fileName | String | |
return | void |
public rejectFile ( String toChannel, String exchangeId ) : bool | ||
toChannel | String | |
exchangeId | String | |
return | bool |
public rejectMultiFiles ( String toChannel, String taskId ) : bool | ||
toChannel | String | |
taskId | String | |
return | bool |
public sendData ( String toChannel, String nodeName, String payloadType, byte payload ) : void | ||
toChannel | String | |
nodeName | String | |
payloadType | String | |
payload | byte | |
return | void |
public sendDataToAll ( String toChannel, String payloadType, byte payload ) : void | ||
toChannel | String | |
payloadType | String | |
payload | byte | |
return | void |
public sendFile ( String toChannel, String toNode, String fileType, String strFilePath, int timeoutMsec ) : String | ||
toChannel | String | |
toNode | String | |
fileType | String | |
strFilePath | String | |
timeoutMsec | int | |
return | String |
public sendMultiFiles ( String toChannel, String toNode, String fileType, List |
||
toChannel | String | |
toNode | String | |
fileType | String | |
listFilePath | List |
|
timeout | int | |
return | String |
public sendUdpData ( String toChannel, String toNode, int reliableTime, bool respFlag, String payloadType, byte payload, String sessionName ) : String | ||
toChannel | String | |
toNode | String | |
reliableTime | int | |
respFlag | bool | |
payloadType | String | |
payload | byte | |
sessionName | String | |
return | String |
public sendUdpDataToAll ( String toChannel, int reliableTime, bool respFlag, String payloadType, byte payload, String sessionName ) : String | ||
toChannel | String | |
reliableTime | int | |
respFlag | bool | |
payloadType | String | |
payload | byte | |
sessionName | String | |
return | String |
public setNetworkListener ( ChordUnityNetworkListener listener ) : void | ||
listener | ChordUnityNetworkListener | |
return | void |
public setNodeKeepAliveTimeout ( int timeoutMsec ) : void | ||
timeoutMsec | int | |
return | void |
public setSecureModeEnabled ( bool enabled ) : void | ||
enabled | bool | |
return | void |
public setSendMultiFilesLimitCount ( int count ) : void | ||
count | int | |
return | void |
public setSmartDiscoveryEnabled ( bool enabled ) : void | ||
enabled | bool | |
return | void |
public setTempDirectory ( String tmpDirPath ) : void | ||
tmpDirPath | String | |
return | void |
public start ( int interfaceType, ChordUnityChannelListener cListener, ChordUnityStatusListener sListener ) : int | ||
interfaceType | int | |
cListener | ChordUnityChannelListener | |
sListener | ChordUnityStatusListener | |
return | int |