Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mjh.switchrmi.protocol.raw
Class RawProtocol  view RawProtocol download RawProtocol.java

java.lang.Object
  extended bycom.mjh.switchrmi.protocol.raw.RawProtocol
All Implemented Interfaces:
com.mjh.switchrmi.RmiProtocol

public class RawProtocol
extends java.lang.Object
implements com.mjh.switchrmi.RmiProtocol


Field Summary
private static org.apache.log4j.Logger log
           
 
Fields inherited from interface com.mjh.switchrmi.RmiProtocol
HTML, HTML_CONTENT_TYPE, RAWRPC, RAWRPC_CONTENT_TYPE, SOAP, SOAP_CONTENT_TYPE, XMLRPC, XMLRPC_CONTENT_TYPE
 
Constructor Summary
RawProtocol()
           
 
Method Summary
 com.mjh.switchrmi.RmiRequest createRequest(java.lang.reflect.Method method, java.lang.Object[] args, com.mjh.switchrmi.RmiContext context)
           
 com.mjh.switchrmi.RmiResponse createResponse(com.mjh.switchrmi.RmiRequest request, java.lang.Object result, com.mjh.switchrmi.RmiContext context)
           
private  void debug(java.lang.String msg)
           
 java.lang.String getMimeType()
           
 java.lang.String getName()
           
private  java.lang.Object readObject(com.mjh.switchrmi.RmiContext context)
           
 com.mjh.switchrmi.RmiRequest readRequest(com.mjh.switchrmi.RmiContext context)
           
 com.mjh.switchrmi.RmiResponse readResponse(com.mjh.switchrmi.RmiContext context)
           
private  void writeObject(java.lang.Object object, com.mjh.switchrmi.RmiContext context)
           
 void writeRequest(com.mjh.switchrmi.RmiRequest request, com.mjh.switchrmi.RmiContext context)
           
 void writeResponse(com.mjh.switchrmi.RmiResponse response, com.mjh.switchrmi.RmiContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.log4j.Logger log
Constructor Detail

RawProtocol

public RawProtocol()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface com.mjh.switchrmi.RmiProtocol

getMimeType

public java.lang.String getMimeType()
Specified by:
getMimeType in interface com.mjh.switchrmi.RmiProtocol

createRequest

public com.mjh.switchrmi.RmiRequest createRequest(java.lang.reflect.Method method,
                                                  java.lang.Object[] args,
                                                  com.mjh.switchrmi.RmiContext context)
Specified by:
createRequest in interface com.mjh.switchrmi.RmiProtocol

createResponse

public com.mjh.switchrmi.RmiResponse createResponse(com.mjh.switchrmi.RmiRequest request,
                                                    java.lang.Object result,
                                                    com.mjh.switchrmi.RmiContext context)
Specified by:
createResponse in interface com.mjh.switchrmi.RmiProtocol

writeRequest

public void writeRequest(com.mjh.switchrmi.RmiRequest request,
                         com.mjh.switchrmi.RmiContext context)
                  throws java.lang.Exception
Specified by:
writeRequest in interface com.mjh.switchrmi.RmiProtocol

readResponse

public com.mjh.switchrmi.RmiResponse readResponse(com.mjh.switchrmi.RmiContext context)
                                           throws java.lang.Exception
Specified by:
readResponse in interface com.mjh.switchrmi.RmiProtocol

readRequest

public com.mjh.switchrmi.RmiRequest readRequest(com.mjh.switchrmi.RmiContext context)
                                         throws java.lang.Exception
Specified by:
readRequest in interface com.mjh.switchrmi.RmiProtocol

writeResponse

public void writeResponse(com.mjh.switchrmi.RmiResponse response,
                          com.mjh.switchrmi.RmiContext context)
                   throws java.lang.Exception
Specified by:
writeResponse in interface com.mjh.switchrmi.RmiProtocol

writeObject

private void writeObject(java.lang.Object object,
                         com.mjh.switchrmi.RmiContext context)
                  throws java.lang.Exception

readObject

private java.lang.Object readObject(com.mjh.switchrmi.RmiContext context)
                             throws java.lang.Exception

debug

private void debug(java.lang.String msg)