The delegate to handle various outcomes of peerserver. More...
#import <PeerServerDelegate.h>
Public Member Functions | |
(void) | - peerServerFailed:reason: |
Server has been terminated because of an error. | |
(void) | - handleNewConnection: |
Server has accepted a new connection and it needs to be processed. |
The delegate to handle various outcomes of peerserver.
- (void) handleNewConnection: | (Connection *) | connection |
Server has accepted a new connection and it needs to be processed.
connection | the new connection object |
- (void) peerServerFailed: | (PeerServer *) | peerServer | |
reason: | (NSString *) | reason | |
Server has been terminated because of an error.
peerServer | the server which is terminated |
reason | the reason of failing of server |