mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
(initialize): return void.
Removed extraneous ;'s git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@118 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7214ddda3e
commit
db8a865647
1 changed files with 6 additions and 7 deletions
|
@ -114,7 +114,7 @@ static int messagesReceivedCount;
|
||||||
|
|
||||||
@implementation Connection
|
@implementation Connection
|
||||||
|
|
||||||
+ initialize
|
+ (void) initialize
|
||||||
{
|
{
|
||||||
connectionArray = [[Array alloc] init];
|
connectionArray = [[Array alloc] init];
|
||||||
connectionArrayGate = [Lock new];
|
connectionArrayGate = [Lock new];
|
||||||
|
@ -130,7 +130,6 @@ static int messagesReceivedCount;
|
||||||
defaultCoderClass = [ConnectedCoder class];
|
defaultCoderClass = [ConnectedCoder class];
|
||||||
default_in_timeout = CONNECTION_DEFAULT_TIMEOUT;
|
default_in_timeout = CONNECTION_DEFAULT_TIMEOUT;
|
||||||
default_out_timeout = CONNECTION_DEFAULT_TIMEOUT;
|
default_out_timeout = CONNECTION_DEFAULT_TIMEOUT;
|
||||||
return self;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ setDefaultPortClass: aClass
|
+ setDefaultPortClass: aClass
|
||||||
|
@ -460,24 +459,24 @@ static int messagesReceivedCount;
|
||||||
return newConn;
|
return newConn;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (Proxy*) rootProxyAtName: (String*)n;f
|
+ (Proxy*) rootProxyAtName: (String*)n
|
||||||
{
|
{
|
||||||
return [self rootProxyAtName:n onHost:""];
|
return [self rootProxyAtName:n onHost:@""];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (Proxy*) rootProxyAtName: (String*)n onHost: (String*)h;
|
+ (Proxy*) rootProxyAtName: (String*)n onHost: (String*)h
|
||||||
{
|
{
|
||||||
id p = [default_port_class newPortFromRegisterWithName:n onHost:h];
|
id p = [default_port_class newPortFromRegisterWithName:n onHost:h];
|
||||||
return [self rootProxyAtPort:p];
|
return [self rootProxyAtPort:p];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (Proxy*) rootProxyAtPort: (Port*)anOutPort;
|
+ (Proxy*) rootProxyAtPort: (Port*)anOutPort
|
||||||
{
|
{
|
||||||
id newInPort = [default_port_class newPort];
|
id newInPort = [default_port_class newPort];
|
||||||
return [self rootProxyAtPort: anOutPort withInPort:newInPort];
|
return [self rootProxyAtPort: anOutPort withInPort:newInPort];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (Proxy*) rootProxyAtPort: (Port*)anOutPort withInPort: (Port*)anInPort;
|
+ (Proxy*) rootProxyAtPort: (Port*)anOutPort withInPort: (Port*)anInPort
|
||||||
{
|
{
|
||||||
Connection *newConn = [self newForInPort:anInPort
|
Connection *newConn = [self newForInPort:anInPort
|
||||||
outPort:anOutPort
|
outPort:anOutPort
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue