mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
([InPort -init]): Set _packet_invocation.
([InPort -setPacketInvocation:]): New method. ([InPort -addToRunLoop:forMode:]): New method. ([InPort -removeFromRunLoop:forMode:]): New method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1106 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1400e225cd
commit
c7560c1d06
1 changed files with 22 additions and 0 deletions
|
@ -104,6 +104,13 @@
|
||||||
|
|
||||||
@implementation InPort
|
@implementation InPort
|
||||||
|
|
||||||
|
- init
|
||||||
|
{
|
||||||
|
[super init];
|
||||||
|
_packet_invocation = nil;
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
+ newForReceivingFromRegisteredName: (id <String>)name
|
+ newForReceivingFromRegisteredName: (id <String>)name
|
||||||
{
|
{
|
||||||
[self subclassResponsibility:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
|
@ -121,6 +128,21 @@
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void) setPacketInvocation: (id <Invoking>)invocation
|
||||||
|
{
|
||||||
|
_packet_invocation = invocation;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void) addToRunLoop: run_loop forMode: (id <String>)mode
|
||||||
|
{
|
||||||
|
[self subclassResponsibility:_cmd];
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void) removeFromRunLoop: run_loop forMode: (id <String>)mode
|
||||||
|
{
|
||||||
|
[self subclassResponsibility:_cmd];
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue