Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.0.1 release #1

Merged
merged 1 commit into from
May 22, 2018
Merged

0.0.1 release #1

merged 1 commit into from
May 22, 2018

Conversation

fritzprix
Copy link
Owner

  • add log4j2 as dependency
  • RMIService API change
    • listen has block option as boolean argument
  • Connection of RMISocket on client side is deferred to the time when RMIServiceProxy is created
  • most of ServiceDiscovery logics is extracted into BaseServiceDiscovery which is abstract class
    exposing only two method (recvServiceInfo, close)
  • add field which indicates client how to make connection to server (proxyFactoryHint)
    • for case of inet, it will contain ipv4 address of server
    • the field is not taken into account when evaluate hash because of service discovery
  • remove RMIServiceInfo field from Request which was redundant (Not used)
  • remove redundant method (unique) from ClientSocketAdapter
  • add no-arg constructor in handshakeexception
  • add a few methods RMISocket
    • open() : establish connection to server
    • isClosed() : check whether socket connection is closed or not
    • getRemoteName() : return unique string name of remote machine
  • change return type of listen method in ServiceAdapter
    • after server start to listen client connection, hint string should be returned to be used at client side proxy
  • change API in ServiceProxyFactory
    • remove argument from build method
    • instead of argument in build method, add setTargetService method
  • InetRMISocket has two constructor, one is intended to be used as socket wrapper in server side client socket
    and the other is to be used for client side socket to the server. second one should defer connection to the time the open method is invoked instead of connecting immediately
  • InetServiceAdapter use default host value with visible address or hostname from separate machine instead of using localhost
  • InetServiceAdapter return its ipv4 address recognizable from another machine in private network
  • API Changes are reflected on InetServiceProxy
  • API Changes are reflected on InetServiceProxyFactory
  • Boolean typed block argument is added in startAdvertiser indicates whether the method call will block or not

- RMIService API change
 	- listen has block option as boolean argument
- Connection of RMISocket on client side is deferred to the time when RMIServiceProxy is created
- most of ServiceDiscovery logics is extracted into BaseServiceDiscovery which is abstract class
  exposing only two method (recvServiceInfo, close)
- add field which indicates client how to make connection to server (proxyFactoryHint)
	- for case of inet, it will contain ipv4 address of server
	- the field is not taken into account when evaluate hash because of service discovery
- remove RMIServiceInfo field from Request which was redundant (Not used)
- remove redundant method (unique) from ClientSocketAdapter
- add no-arg constructor in handshakeexception
- add a few methods RMISocket
	- open() : establish connection to server
	- isClosed() : check whether socket connection is closed or not
	- getRemoteName() : return unique string name of remote machine
- change return type of listen method in ServiceAdapter
	- after server start to listen client connection, hint string should be returned to be used at client side proxy
- change API in ServiceProxyFactory
	- remove argument from build method
	- instead of argument in build method, add setTargetService method
- InetRMISocket has two constructor, one is intended to be used as socket wrapper in server side client socket
  and the other is to be used for client side socket to the server. second one should defer connection to the time the open method is invoked instead of connecting immediately
- InetServiceAdapter use default host value with visible address or hostname from separate machine instead of using localhost
- InetServiceAdapter return its ipv4 address recognizable from another machine in private network
- API Changes are reflected on InetServiceProxy
- API Changes are reflected on InetServiceProxyFactory
- Boolean typed block argument is added in startAdvertiser indicates whether the method call will block or not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant