com.sun.jmx.remote.opt.security
Class TLSClientHandler

java.lang.Object
  extended by com.sun.jmx.remote.opt.security.TLSClientHandler
All Implemented Interfaces:
ProfileClient

public class TLSClientHandler
extends Object
implements ProfileClient

This class implements the client side TLS profile.


Field Summary
protected  SSLSocket ts
           
 
Constructor Summary
TLSClientHandler(String profile, Map env)
           
 
Method Summary
 void activate()
           
 void consumeMessage(ProfileMessage pm)
           
 String getName()
           
 void initialize(MessageConnection mc)
           
 boolean isComplete()
           
 ProfileMessage produceMessage()
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ts

protected SSLSocket ts
Constructor Detail

TLSClientHandler

public TLSClientHandler(String profile,
                        Map env)
Method Detail

initialize

public void initialize(MessageConnection mc)
                throws IOException
Specified by:
initialize in interface ProfileClient
Throws:
IOException

produceMessage

public ProfileMessage produceMessage()
                              throws IOException
Specified by:
produceMessage in interface ProfileClient
Throws:
IOException

consumeMessage

public void consumeMessage(ProfileMessage pm)
                    throws IOException
Specified by:
consumeMessage in interface ProfileClient
Throws:
IOException

isComplete

public boolean isComplete()
Specified by:
isComplete in interface ProfileClient

activate

public void activate()
              throws IOException
Specified by:
activate in interface ProfileClient
Throws:
IOException

terminate

public void terminate()
               throws IOException
Specified by:
terminate in interface ProfileClient
Throws:
IOException

getName

public String getName()
Specified by:
getName in interface ProfileClient


Copyright © 2014 Terracotta, Inc.. All rights reserved.