Export the internal OFTCPSocket so it can be observed externally.
FossilOrigin-Name: 8e20888525708fdd3e9a937da52d4b6d7d2f0366cd35f1a4e8ca3fc9e62047af
This commit is contained in:
parent
6f1d8756ba
commit
a8b7db8d28
2 changed files with 2 additions and 1 deletions
|
@ -84,6 +84,7 @@
|
||||||
@property (assign) uint16_t port;
|
@property (assign) uint16_t port;
|
||||||
@property (copy) OFString *nickname, *username, *realname;
|
@property (copy) OFString *nickname, *username, *realname;
|
||||||
@property (retain) id <IRCConnectionDelegate, OFObject> delegate;
|
@property (retain) id <IRCConnectionDelegate, OFObject> delegate;
|
||||||
|
@property (retain, getter=socket) OFTCPSocket *sock;
|
||||||
|
|
||||||
- (void)sendLine: (OFString*)line;
|
- (void)sendLine: (OFString*)line;
|
||||||
- (void)sendLineWithFormat: (OFConstantString*)line, ...;
|
- (void)sendLineWithFormat: (OFConstantString*)line, ...;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#import "IRCChannel.h"
|
#import "IRCChannel.h"
|
||||||
|
|
||||||
@implementation IRCConnection
|
@implementation IRCConnection
|
||||||
@synthesize server, port, nickname, username, realname, delegate;
|
@synthesize server, port, nickname, username, realname, delegate, sock;
|
||||||
|
|
||||||
- init
|
- init
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue