DTBonjourServerDelegate Protocol Reference
Conforms to | NSObject |
Declared in | DTBonjourServer.h |
Instance Methods
bonjourServer:didAcceptConnection:
Called when a new incoming connection was accepted by the server.
- (void)bonjourServer:(DTBonjourServer *)server didAcceptConnection:(DTBonjourDataConnection *)connection
Parameters
- server
The server
- connection
The connection that was accepted
Declared In
DTBonjourServer.h
bonjourServer:didCloseConnection:
Called when a client connection was closed.
- (void)bonjourServer:(DTBonjourServer *)server didCloseConnection:(DTBonjourDataConnection *)connection
Parameters
- server
The server
- connection
The connection that was closed
Declared In
DTBonjourServer.h
bonjourServer:didReceiveObject:onConnection:
Called when the server received a new object on a given connection
- (void)bonjourServer:(DTBonjourServer *)server didReceiveObject:(id)object onConnection:(DTBonjourDataConnection *)connection
Parameters
- server
The server
- object
The decoded object that was received
- connection
The individual connection that it was received on
Declared In
DTBonjourServer.h