pSpaces / jSpace

Programming with Spaces in Java
MIT License
17 stars 13 forks source link

Can't create a SpateRepository gate in conn mode #9

Closed TheAIBot closed 6 years ago

TheAIBot commented 6 years ago

https://github.com/pSpaces/jSpace/blob/4718671192a4461a4a3b91fa11d1972443ab59d7/common/src/main/java/org/jspace/gate/TcpGateBuilder.java#L91

You can create a RemoteSpace in conn mode but not a SpaceRepository in conn mode.

michele-loreti commented 6 years ago

Please, can you post your code? An example of how gate can be used (and conn mode in particular) is available here:

jSpace/blob/master/examples/PingPong/src/main/java/org/jspace/examples/pingpong/PingPongConn.java

Thanks.

TheAIBot commented 6 years ago

See https://github.com/pSpaces/jSpace/issues/10 The created gate is still a keep gate even though the example specified conn

michele-loreti commented 6 years ago

Fixed.