Client.java
Is missing?Code:public Client() { }
|
Any idea why it's throwing this error at me?
Code:Building Server... src\server\model\players\PlayerLogin.java:11: cannot find symbol symbol : constructor Client() location: class server.model.players.Client class PlayerLogin extends Client { ^ 1 error Press any key to continue . . .
Client.java
Is missing?Code:public Client() { }
There it is.Code:public Client(IoSession s, int _playerId) { super(_playerId); this.session = s; synchronized(this) { outStream = new Stream(new byte[Config.BUFFER_SIZE]); outStream.currentOffset = 0; } inStream = new Stream(new byte[Config.BUFFER_SIZE]); inStream.currentOffset = 0; buffer = new byte[Config.BUFFER_SIZE]; }
in your new file or whatever you have to call super();... since there are parameters for the constructor Client. so in something like this I think
Code:public PlayerLogin() { super(iosession, playerId); }
Nevermind I'll just do something else. Close.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |