C# 클래스 ChordUnity, AllJoyn

상속: MonoBehaviour
파일 보기 프로젝트 열기: pubnub/AllJoyn 1 사용 예제들

공개 메소드들

메소드 설명
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 listFilePath, int timeout ) : String
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

비공개 메소드들

메소드 설명
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

메소드 상세

acceptFile() 공개 메소드

public acceptFile ( String fromChannel, String exchangeId, int chunkTimeoutMsec, int chunkRetries, long chunkSize ) : bool
fromChannel String
exchangeId String
chunkTimeoutMsec int
chunkRetries int
chunkSize long
리턴 bool

acceptMultiFiles() 공개 메소드

public acceptMultiFiles ( String fromChannel, String taskId, int chunkTimeout, int chunkRetries, long chunkSize ) : bool
fromChannel String
taskId String
chunkTimeout int
chunkRetries int
chunkSize long
리턴 bool

browseFiles() 공개 메소드

public browseFiles ( ) : void
리턴 void

cancelFile() 공개 메소드

public cancelFile ( String toChannel, String exchangeId ) : bool
toChannel String
exchangeId String
리턴 bool

cancelMultiFiles() 공개 메소드

public cancelMultiFiles ( String toChannel, String taskId ) : bool
toChannel String
taskId String
리턴 bool

close() 공개 메소드

public close ( ) : void
리턴 void

getAvailableInterfaceTypes() 공개 메소드

public getAvailableInterfaceTypes ( ) : List
리턴 List

getIp() 공개 메소드

public getIp ( ) : String
리턴 String

getJoinedChannelList() 공개 메소드

public getJoinedChannelList ( ) : List
리턴 List

getJoinedNodeList() 공개 메소드

public getJoinedNodeList ( String channelName ) : List
channelName String
리턴 List

getLastError() 공개 메소드

public getLastError ( ) : int
리턴 int

getNICList() 공개 메소드

public getNICList ( int handle ) : String[]
handle int
리턴 String[]

getName() 공개 메소드

public getName ( ) : String
리턴 String

getNodeIpAddress() 공개 메소드

public getNodeIpAddress ( String channelName, String nodeName ) : String
channelName String
nodeName String
리턴 String

getObject() 공개 정적인 메소드

public static getObject ( ) : ChordUnity,
리턴 ChordUnity,

getVersionCode() 공개 메소드

public getVersionCode ( ) : int
리턴 int

getVersionName() 공개 메소드

public getVersionName ( ) : String
리턴 String

init() 공개 메소드

public init ( ) : void
리턴 void

isSmartDiscoveryEnabled() 공개 메소드

public isSmartDiscoveryEnabled ( ) : bool
리턴 bool

joinChannel() 공개 메소드

public joinChannel ( String channelName ) : bool
channelName String
리턴 bool

leaveChannel() 공개 메소드

public leaveChannel ( String channelName ) : void
channelName String
리턴 void

onBrowseResult() 공개 메소드

public onBrowseResult ( String fileName ) : void
fileName String
리턴 void

onStopped() 공개 메소드

public onStopped ( int reason ) : void
reason int
리턴 void

rejectFile() 공개 메소드

public rejectFile ( String toChannel, String exchangeId ) : bool
toChannel String
exchangeId String
리턴 bool

rejectMultiFiles() 공개 메소드

public rejectMultiFiles ( String toChannel, String taskId ) : bool
toChannel String
taskId String
리턴 bool

resetSmartDiscoveryPeriod() 공개 메소드

public resetSmartDiscoveryPeriod ( ) : void
리턴 void

sendData() 공개 메소드

public sendData ( String toChannel, String nodeName, String payloadType, byte payload ) : void
toChannel String
nodeName String
payloadType String
payload byte
리턴 void

sendDataToAll() 공개 메소드

public sendDataToAll ( String toChannel, String payloadType, byte payload ) : void
toChannel String
payloadType String
payload byte
리턴 void

sendFile() 공개 메소드

public sendFile ( String toChannel, String toNode, String fileType, String strFilePath, int timeoutMsec ) : String
toChannel String
toNode String
fileType String
strFilePath String
timeoutMsec int
리턴 String

sendMultiFiles() 공개 메소드

public sendMultiFiles ( String toChannel, String toNode, String fileType, List listFilePath, int timeout ) : String
toChannel String
toNode String
fileType String
listFilePath List
timeout int
리턴 String

sendUdpData() 공개 메소드

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
리턴 String

sendUdpDataToAll() 공개 메소드

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
리턴 String

setNetworkListener() 공개 메소드

public setNetworkListener ( ChordUnityNetworkListener listener ) : void
listener ChordUnityNetworkListener
리턴 void

setNodeKeepAliveTimeout() 공개 메소드

public setNodeKeepAliveTimeout ( int timeoutMsec ) : void
timeoutMsec int
리턴 void

setSecureModeEnabled() 공개 메소드

public setSecureModeEnabled ( bool enabled ) : void
enabled bool
리턴 void

setSendMultiFilesLimitCount() 공개 메소드

public setSendMultiFilesLimitCount ( int count ) : void
count int
리턴 void

setSmartDiscoveryEnabled() 공개 메소드

public setSmartDiscoveryEnabled ( bool enabled ) : void
enabled bool
리턴 void

setTempDirectory() 공개 메소드

public setTempDirectory ( String tmpDirPath ) : void
tmpDirPath String
리턴 void

start() 공개 메소드

public start ( int interfaceType, ChordUnityChannelListener cListener, ChordUnityStatusListener sListener ) : int
interfaceType int
cListener ChordUnityChannelListener
sListener ChordUnityStatusListener
리턴 int

stop() 공개 메소드

public stop ( ) : void
리턴 void

viewLicense() 공개 메소드

public viewLicense ( ) : void
리턴 void