public ResumingClientHandshaker(DTLSSession session,RecordLayer recordLayer,SessionListener sessionListener,DtlsConnectorConfig config,int maxTransmissionUnit){
  super(session,recordLayer,sessionListener,config,maxTransmissionUnit);
  if (session.getSessionIdentifier() == null) {
    throw new IllegalArgumentException("Session must contain the ID of the session to resume");
  }
}

public ResumingClientHandshaker ( DTLSSession session , RecordLayer recordLayer , SessionListener sessionListener , DtlsConnectorConfig config , int maxTransmissionUnit ) { super ( session , recordLayer , sessionListener , config , maxTransmissionUnit ) ; if ( session . getSessionIdentifier ( ) == null ) { throw new IllegalArgumentException ( "Session must contain the ID of the session to resume" ) ; } }
creates a new handshaker for resuming an existing session with a server .
