JSS 3.1

org.mozilla.jss.ssl
Class SocketProxy

java.lang.Object
  |
  +--org.mozilla.jss.util.NativeProxy
        |
        +--org.mozilla.jss.ssl.SocketProxy

class SocketProxy
extends NativeProxy


Fields inherited from class org.mozilla.jss.util.NativeProxy
indexGenerator, mPointer, registry, registryIndex
 
Constructor Summary
SocketProxy(byte[] pointer)
           
 
Method Summary
protected  void finalize()
           
protected  void releaseNativeResources()
          Theoretically, we don't need to do anything, since SSLSocket should call close() when it finalizes.
 
Methods inherited from class org.mozilla.jss.util.NativeProxy
, assertRegistryEmpty, equals, getRegistryIndex, getRegistryIndices, register, unregister
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

SocketProxy

public SocketProxy(byte[] pointer)
Method Detail

releaseNativeResources

protected void releaseNativeResources()
Theoretically, we don't need to do anything, since SSLSocket should call close() when it finalizes. When a socket is closed all its resources are freed, and there's nothing left to release.
Overrides:
releaseNativeResources in class NativeProxy

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class NativeProxy

JSS 3.1