[Isolate-interest] JSR-121 aggregates and links (strawman 10)
Miles Sabin
miles@milessabin.com
Wed, 29 Sep 2004 21:13:34 +0100
Godmar Back wrote,
> What specifically would that mean, for say SSLServerSocket?
>
> Is an implementation obliged to throw a runtime exception (which
> one?) if someone attempts to create an isolate message for an object
> (SSLServerSocket, for instance) it can't safely transport?
In the version of the API that was current at the time I put together my
1:1 implementation, the result of calling,
IsolateMessage.newServerSocketMessage(ServerSocket s)
with an SSLServerSocket would have been an IllegalArgumentException. The
API has changed significantly since then, so I'll leave it to Pete to
give you the current answer.
> Is it possible and permissible, in a clustered implementation, that
> the creation of an isolate message with an SSLServerSocket succeeds
> but the extraction of the socket on the receiver side fails?
No ... the message shouldn't be constructed in the first place.
Cheers,
Miles