| | 38 | @protocol AWEzvClientProtocol <NSObject> |
|---|
| | 39 | - (void) reportLoggedIn; |
|---|
| | 40 | - (void) reportLoggedOut; |
|---|
| | 41 | - (void) userLoggedOut:(AWEzvContact *)contact; |
|---|
| | 42 | - (void) userChangedState:(AWEzvContact *)contact; |
|---|
| | 43 | - (void) userChangedImage:(AWEzvContact *)contact; |
|---|
| | 44 | - (void) user:(AWEzvContact *)contact sentMessage:(NSString *)message withHtml:(NSString *)html; |
|---|
| | 45 | - (void) user:(AWEzvContact *)contact typingNotification:(AWEzvTyping)typingStatus; |
|---|
| | 46 | - (void) user:(AWEzvContact *)contact typeAhead:(NSString *)message withHtml:(NSString *)html; |
|---|
| | 47 | |
|---|
| | 48 | // File Transfer |
|---|
| | 49 | - (void) remoteUserFinishedDownload:(EKEzvFileTransfer *)fileTransfer; |
|---|
| | 50 | - (void)updateProgressForFileTransfer:(EKEzvFileTransfer *)fileTransfer percent:(NSNumber *)percent bytesSent:(NSNumber *)bytesSent; |
|---|
| | 51 | - (void)remoteCanceledFileTransfer:(EKEzvFileTransfer *)fileTransfer; |
|---|
| | 52 | - (void)transferFailed:(EKEzvFileTransfer *)fileTransfer; |
|---|
| | 53 | // Incoming File Transfer |
|---|
| | 54 | - (void)user:(AWEzvContact *)contact sentFile:(EKEzvFileTransfer *)fileTransfer; |
|---|
| | 55 | // Outgoing File Transfer |
|---|
| | 56 | - (void)remoteUserBeganDownload:(EKEzvOutgoingFileTransfer *)fileTransfer; |
|---|
| | 57 | - (void)remoteUserFinishedDownload:(EKEzvOutgoingFileTransfer *)fileTransfer; |
|---|
| | 58 | |
|---|
| | 59 | - (void) reportError:(NSString *)error ofLevel:(AWEzvErrorSeverity)severity; |
|---|
| | 60 | - (void) reportError:(NSString *)error ofLevel:(AWEzvErrorSeverity)severity forUser:(NSString *)contact; |
|---|
| | 61 | |
|---|
| | 62 | @end |
|---|
| | 63 | |
|---|
| 71 | | |
|---|
| 72 | | |
|---|
| 73 | | @protocol AWEzvClientProtocol <NSObject> |
|---|
| 74 | | - (void) reportLoggedIn; |
|---|
| 75 | | - (void) reportLoggedOut; |
|---|
| 76 | | - (void) userLoggedOut:(AWEzvContact *)contact; |
|---|
| 77 | | - (void) userChangedState:(AWEzvContact *)contact; |
|---|
| 78 | | - (void) userChangedImage:(AWEzvContact *)contact; |
|---|
| 79 | | - (void) user:(AWEzvContact *)contact sentMessage:(NSString *)message withHtml:(NSString *)html; |
|---|
| 80 | | - (void) user:(AWEzvContact *)contact typingNotification:(AWEzvTyping)typingStatus; |
|---|
| 81 | | - (void) user:(AWEzvContact *)contact typeAhead:(NSString *)message withHtml:(NSString *)html; |
|---|
| 82 | | |
|---|
| 83 | | // File Transfer |
|---|
| 84 | | - (void) remoteUserFinishedDownload:(EKEzvFileTransfer *)fileTransfer; |
|---|
| 85 | | - (void)updateProgressForFileTransfer:(EKEzvFileTransfer *)fileTransfer percent:(NSNumber *)percent bytesSent:(NSNumber *)bytesSent; |
|---|
| 86 | | - (void)remoteCanceledFileTransfer:(EKEzvFileTransfer *)fileTransfer; |
|---|
| 87 | | - (void)transferFailed:(EKEzvFileTransfer *)fileTransfer; |
|---|
| 88 | | // Incoming File Transfer |
|---|
| 89 | | - (void)user:(AWEzvContact *)contact sentFile:(EKEzvFileTransfer *)fileTransfer; |
|---|
| 90 | | // Outgoing File Transfer |
|---|
| 91 | | - (void)remoteUserBeganDownload:(EKEzvOutgoingFileTransfer *)fileTransfer; |
|---|
| 92 | | - (void)remoteUserFinishedDownload:(EKEzvOutgoingFileTransfer *)fileTransfer; |
|---|
| 93 | | |
|---|
| 94 | | - (void) reportError:(NSString *)error ofLevel:(AWEzvErrorSeverity)severity; |
|---|
| 95 | | - (void) reportError:(NSString *)error ofLevel:(AWEzvErrorSeverity)severity forUser:(NSString *)contact; |
|---|
| 96 | | |
|---|
| 97 | | @end |
|---|