public class JrmpServerContext extends Object implements ServerContext.Spi
ServerContext.getServerContext().| Constructor and Description |
|---|
JrmpServerContext() |
| Modifier and Type | Method and Description |
|---|---|
Collection |
getServerContext()
Returns a server context collection containing an element that
implements the
ClientHost interface whose
getClientHost method
returns the client host if the current thread is handling a JRMP
remote call, or null otherwise. |
public Collection getServerContext()
ClientHost interface whose
getClientHost method
returns the client host if the current thread is handling a JRMP
remote call, or null otherwise. The client host string
is determined by calling RemoteServer.getClientHost(); if
getClientHost throws a ServerNotActiveException, then no JRMP call is in progress and
null is returned.getServerContext in interface ServerContext.SpinullCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.