Added a constructor that just takes the service's
default channel.
This commit is contained in:
parent
99742a76f2
commit
14e84a4dd7
@ -89,6 +89,10 @@ public class RmiHostedService extends AbstractHostedService {
|
|||||||
this((short)-1, (byte)MessageConnection.CHANNEL_DEFAULT_RELIABLE, true);
|
this((short)-1, (byte)MessageConnection.CHANNEL_DEFAULT_RELIABLE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public RmiHostedService( byte defaultChannel ) {
|
||||||
|
this((short)-1, defaultChannel, true);
|
||||||
|
}
|
||||||
|
|
||||||
public RmiHostedService( short rmiId, byte defaultChannel, boolean autoHost ) {
|
public RmiHostedService( short rmiId, byte defaultChannel, boolean autoHost ) {
|
||||||
this.rmiId = rmiId;
|
this.rmiId = rmiId;
|
||||||
this.defaultChannel = defaultChannel;
|
this.defaultChannel = defaultChannel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user