Serializablepublic class ProtocolImpl extends SMYLDObject
NEW_LINE, OS_NEW_LINE| Constructor | Description |
|---|---|
ProtocolImpl() |
|
ProtocolImpl(Serializable pBody,
String pHeader) |
| Modifier and Type | Method | Description |
|---|---|---|
Serializable |
getBody() |
CAll receive before calling this method incase of receiving
|
String |
getHeader() |
Call receive before calling this method incase of receiving
|
ComProtocol |
getProt() |
|
void |
receive(InputStream input) |
Call getHeader() and getBody() to receive the contents of this input
stream
|
void |
send(OutputStream output) |
|
void |
setBody(Serializable newBody) |
|
void |
setHeader(String newHeader) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdebug, getLenName, insertInstanceValue, printInstanceValues, toStringpublic ProtocolImpl(Serializable pBody, String pHeader)
public ProtocolImpl()
public void send(OutputStream output)
public void receive(InputStream input)
public String getHeader()
public ComProtocol getProt()
public Serializable getBody()
public void setHeader(String newHeader)
public void setBody(Serializable newBody)
Copyright © 2019 SMYLD. All rights reserved.